/
fs_setbuf()
fs_setbuf()
int fs_setbuf (FS_FILE *p_file, char *p_buf);
File | Called from | Code enabled by |
---|---|---|
| Application |
|
Assign buffer to a file.
Arguments
p_file
Pointer to a file.
p_buf
Pointer to a buffer of FS_BUFSIZ
bytes.
Returned Value
-1, if an error occurs.
0, if no error occurs.
Notes/Warnings
fs_setbuf()
is equivalent tofs_setvbuf()
invoked withFS__IOFBF
for mode andFS_BUFSIZE
for size.
, multiple selections available,
Related content
fs_setvbuf()
fs_setvbuf()
More like this
fs_fseek()
fs_fseek()
More like this
fs_fwrite()
fs_fwrite()
More like this
fs_fopen()
fs_fopen()
More like this
fs_fflush()
fs_fflush()
More like this
fs_fread()
fs_fread()
More like this