|
MentOS
0.8.0
The Mentoring Operating System
|
Reading formatting routines. More...
Functions | |
| static int | __vsscanf (const char *buf, const char *s, va_list ap) |
| Read formatted data from string. More... | |
| static int | __vfscanf (int fd, const char *fmt, va_list ap) |
| Read formatted data from file. More... | |
| int | scanf (const char *fmt,...) |
| Read formatted input from stdin. More... | |
| int | fscanf (int fd, const char *fmt,...) |
| The same as sscanf but the source is a file. More... | |
| int | sscanf (const char *buf, const char *fmt,...) |
| Read formatted data from string. More... | |
Reading formatting routines.
|
static |
Read formatted data from file.
| fd | the file descriptor associated with the file. |
| fmt | format string, following the same specifications as printf. |
| ap | the list of arguments where the values are stored. |
|
static |
Read formatted data from string.
| buf | String processed as source to retrieve the data. |
| s | Format string, following the same specifications as printf. |
| ap | The list of arguments where the values are stored. |
| int fscanf | ( | int | fd, |
| const char * | fmt, | ||
| ... | |||
| ) |
The same as sscanf but the source is a file.
| fd | The file descriptor associated with the file. |
| fmt | Format string, following the same specifications as printf. |
| ... | The list of arguments where the values are stored. |
| int scanf | ( | const char * | fmt, |
| ... | |||
| ) |
Read formatted input from stdin.
| fmt | Format string, following the same specifications as printf. |
| ... | The list of arguments where the values are stored. |
| int sscanf | ( | const char * | str, |
| const char * | fmt, | ||
| ... | |||
| ) |
Read formatted data from string.
| str | String processed as source to retrieve the data. |
| fmt | Format string, following the same specifications as printf. |
| ... | The list of arguments where the values are stored. |