and the number of characters
and the number of characters written on fflush or fclose. *)
function open_memstream(__bufloc:ppchar;__sizeloc:plongint):pfile;cdecl;external 'c';
(* If BUF is NULL, make STREAM unbuffered.
Else make it use buffer BUF, of size BUFSIZ. *)
procedure setbuf(__stream:pfile;__buf:pchar);cdecl;external 'c';
(* Make STREAM use buffering mode MODE.
If BUF is not NULL, use N bytes of it for buffering;
else allocate an internal buffer N bytes long. *)
function setvbuf(__stream:pfile;__buf:pchar;
__modes:longint;__n:longint):integer;cdecl;external 'c';
(* If BUF is NULL, make STREAM unbuffered.
Else make it use SIZE bytes of BUF for buffering. *)
procedure setbuffer(__stream:pfile;__buf:pchar;
__size:longint);cdecl;external 'c';
(* Make STREAM line-buffered. *)
procedure setlinebuf(__stream:pfile);cdecl;external 'c';
(* Write formatted output to STREAM. *)
function fprintf(__stream:pfile;fm:pchar;args:array of const):integer;cdecl;external 'c';
(* Write formatted output to stdout. *)
function printf(fm:pchar;args:array of const):integer;cdecl;external 'c';
(* Write formatted output to S. *)
function sprintf(__s:pchar;fm:pchar;args:array of const):integer;cdecl;external 'c';
(* Read formatted input from STREAM. *)
function fscanf(__stream:pfile;fm:pchar;args:array of const):integer;cdecl;external 'c';
(* Read formatted input from stdin. *)
function scanf(fm:pchar;args:array of const):integer;cdecl;external 'c';
(* Read formatted input from S. *)
function sscanf(s:pchar;fm:pchar;args:array of const):integer;cdecl;external 'c';
(* Read a character from STREAM. *)
function fgetc(__stream:pfile):integer;cdecl;external 'c';
function getc(__stream:pfile):integer;cdecl;external 'c';
(* Read a character from stdin. *)
function getchar:integer;cdecl;external 'c';
(* These are defined in POSIX.1:1996. *)
Содержание Назад Вперед
Forekc.ru
Рефераты, дипломы, курсовые, выпускные и квалификационные работы, диссертации, учебники, учебные пособия, лекции, методические пособия и рекомендации, программы и курсы обучения, публикации из профильных изданий