#include <sys/types.h>
#include <able/databuffer.h>
Go to the source code of this file.
Data Structures | |
struct | __sbuf |
struct | file_s |
struct | buffered_file_s |
Defines | |
#define | _ABLE_CLIB_INTERNAL_FILE_H 1 |
#define | FILEF_EOF (1<<14) |
#define | FILEF_ERR (1<<15) |
#define | __FILE_RD (1<<16) |
#define | __FILE_WR (1<<17) |
#define | __FILE_RW (1<<18) |
#define | __FILE_STRINGFUNC (1<<19) |
#define | __FILE_DYNAMICBUFF (1<<20) |
#define | __FILE_MALLOCEDBUFF (1<<21) |
#define | __FILE_NOSEEK (1<<22) |
#define | INIT_FILE(__fd, __flags) |
Functions | |
int | FILE_write (void *cookie, const char *buff, int size) |
Variables | |
FILE | __default_stdin |
FILE | __default_stdout |
#define __FILE_DYNAMICBUFF (1<<20) |
#define __FILE_MALLOCEDBUFF (1<<21) |
#define __FILE_NOSEEK (1<<22) |
#define __FILE_RD (1<<16) |
#define __FILE_RW (1<<18) |
#define __FILE_STRINGFUNC (1<<19) |
#define __FILE_WR (1<<17) |
#define _ABLE_CLIB_INTERNAL_FILE_H 1 |
#define FILEF_EOF (1<<14) |
#define FILEF_ERR (1<<15) |
#define INIT_FILE | ( | __fd, | |||
__flags | ) |
Value:
{ \ .rd_buff = NULL, \ .fd = (__fd), \ .flags = (__flags), \ ._w = 0, \ ._p = NULL, \ ._lbfsize = 0, \ ._cookie = (void *)(__fd), \ ._write = FILE_write \ }
int FILE_write | ( | void * | cookie, | |
const char * | buff, | |||
int | size | |||
) |
FILE __default_stdin |
FILE __default_stdout |