newlib_device_t Struct Reference
#include <newintf.h>
Data Fields |
| int | valid |
| int | ident |
| char | tag [8] |
| BOOL | is_tty |
| void *(* | open )(struct _reent *r, const char *name, int flags, int mode) |
| int(* | close )(struct _reent *r, int fd) |
| off_t(* | lseek )(struct _reent *r, int fd, off_t pos, int whence) |
| long(* | read )(struct _reent *r, int fd, void *buf, size_t cnt) |
| long(* | write )(struct _reent *r, int fd, const void *buf, size_t cnt) |
| int(* | stat )(struct _reent *r, const char *file, struct stat *pstat) |
| int(* | fstat )(struct _reent *r, int fd, struct stat *pstat) |
| int(* | link )(struct _reent *r, const char *old, const char *n) |
| int(* | unlink )(struct _reent *r, const char *file) |
Detailed Description
The interface between newlib and any user devices to be accessed with stdio.
Field Documentation
Identifier (Don't touch this)
TRUE if this device is a TTY, FALSE otherwise
The tag for the device filenames (tag:/path/to/file)
The documentation for this struct was generated from the following file: