Nut/OS  4.10.3
API Reference
nut_io.h File Reference
#include <cfg/crt.h>
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <stdarg.h>
Include dependency graph for nut_io.h:

Go to the source code of this file.

Data Structures

struct  __iobuf

Defines

#define _IOUNG   0x08
#define _IOERR   0x10
#define _IOEOF   0x20
#define _IOPGM   0x40
#define BUFSIZ   128
 Default maximum size of stream buffers. Currently not used.
#define FOPEN_MAX   8
 Default maximum number of open streams.
#define FILENAME_MAX   255
 Default maximum size of filenames.

Functions

int _fmode (CONST char *mode)
int _putf (int _putb(int, CONST void *, size_t), int fd, CONST char *fmt, va_list ap)
 Write formatted data using a given output function.
int _getf (int _getb(int, void *, size_t), int fd, CONST char *fmt, va_list ap)
 Read formatted data using a given input function.