fxlibc/src/libc/stdio/fileutil.h

19 lines
347 B
C

#ifndef __FILEUTIL_H__
# define __FILEUTIL_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
/* Write data to a file descriptor; updates the fdpos and sets the error
indicator. Returns 0 on success, EOF on error. */
int __fp_write(FILE *fp, void const *data, size_t size);
#ifdef __cplusplus
}
#endif
#endif /*__FILEUTIL_H__*/