C Runtime Library.

Collaboration diagram for C Runtime Library.:


Detailed Description

Complementary runtime support.

Normal C language runtime libraries are too large for small embedded systems and many functions require an underlying operating system. Compilers for the AVR provide a limited subset only, which do not include sufficient device support.

Nut/OS includes its own runtime library. When linked with an application, this library partly overrides the standard library which comes with your compiler.

Warning:
Using these functions requires to link nutcrt or nutcrtf before the compiler's standard libraries.


Modules

 Standard I/O
 Standard stream interface to Nut/OS devices.
 Low Level I/O
 Low level input and output operations.
 Time handling Functions
 Implements some standard C time functions.
 Miscellaneous Functions
 Complementary runtime support.
 Standard Lib
 C Standard Library.
 Strings
 C Standard String Library.

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.


Define Documentation

#define _IOUNG   0x08

Definition at line 60 of file nut_io.h.

Referenced by fgetc(), fread(), and ungetc().

#define _IOERR   0x10

Definition at line 61 of file nut_io.h.

Referenced by ferror(), fgetc(), and fread().

#define _IOEOF   0x20

Definition at line 62 of file nut_io.h.

Referenced by feof(), fgetc(), and fread().

#define _IOPGM   0x40

Definition at line 63 of file nut_io.h.

#define BUFSIZ   128

Default maximum size of stream buffers. Currently not used.

Definition at line 66 of file nut_io.h.

#define FOPEN_MAX   8

Default maximum number of open streams.

Definition at line 72 of file nut_io.h.

Referenced by _fdopen(), _flushall(), fclose(), fcloseall(), fopen(), and freopen().

#define FILENAME_MAX   255

Default maximum size of filenames.

Definition at line 77 of file nut_io.h.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/