|
VSF Documented
|
#include "shell/sys/linux/vsf_linux_cfg.h"#include "./stddef.h"#include "../sys/types.h"#include <stdarg.h>#include <stdint.h>#include "utilities/compiler/compiler.h"Go to the source code of this file.
Data Structures | |
| struct | __VSF_STDIO_INTERNAL_FILE_NAME |
| struct | vsf_linux_libc_stdio_vplt_t |
Typedefs | |
| typedef off64_t | fpos_t |
| typedef off64_t | fpos64_t |
| typedef struct __VSF_STDIO_INTERNAL_FILE_NAME | FILE |
| typedef struct vsf_linux_libc_stdio_vplt_t | vsf_linux_libc_stdio_vplt_t |
Functions | |
| FILE * | __vsf_linux_stdin (void) |
| FILE * | __vsf_linux_stdout (void) |
| FILE * | __vsf_linux_stderr (void) |
| void | perror (const char *str) |
| void | setbuf (FILE *f, char *buf) |
| void | setbuffer (FILE *f, char *buf, size_t size) |
| void | setlinebuf (FILE *f) |
| int | setvbuf (FILE *f, char *buf, int mode, size_t size) |
| int | putchar (int ch) |
| int | fgetc (FILE *f) |
| int | fputc (int ch, FILE *f) |
| int | getc (FILE *f) |
| int | putc (int ch, FILE *f) |
| int | ungetc (int c, FILE *f) |
| int | puts (const char *str) |
| int | fputs (const char *str, FILE *f) |
| char * | fgets (char *str, int n, FILE *f) |
| int | scanf (const char *format,...) |
| int | vscanf (const char *format, va_list ap) |
| int | fscanf (FILE *f, const char *format,...) |
| int | vfscanf (FILE *f, const char *format, va_list ap) |
| int | printf (const char *format,...) |
| int | fprintf (FILE *f, const char *format,...) |
| int | vfprintf (FILE *f, const char *format, va_list ap) |
| int | dprintf (int fd, const char *format,...) |
| int | vdprintf (int fd, const char *format, va_list ap) |
| int | fiprintf (FILE *f, const char *format,...) |
| int | vprintf (const char *format, va_list ap) |
| FILE * | fopen (const char *filename, const char *mode) |
| FILE * | fdopen (int fildes, const char *mode) |
| FILE * | freopen (const char *filename, const char *mode, FILE *f) |
| int | fclose (FILE *f) |
| int | fileno (FILE *f) |
| int | fseek (FILE *f, long offset, int fromwhere) |
| int | fseeko (FILE *f, off_t offset, int fromwhere) |
| int | fseeko64 (FILE *f, off64_t offset, int fromwhere) |
| long | ftell (FILE *f) |
| off_t | ftello (FILE *f) |
| off64_t | ftello64 (FILE *f) |
| void | rewind (FILE *f) |
| size_t | fread (void *ptr, size_t size, size_t nmemb, FILE *f) |
| size_t | fwrite (const void *ptr, size_t size, size_t nmemb, FILE *f) |
| int | fflush (FILE *f) |
| int | fgetpos (FILE *f, fpos_t *pos) |
| int | fsetpos (FILE *f, const fpos_t *pos) |
| int | fgetpos64 (FILE *f, fpos_t *pos) |
| int | fsetpos64 (FILE *f, const fpos_t *pos) |
| FILE * | popen (const char *command, const char *type) |
| int | pclose (FILE *stream) |
| int | rename (const char *old_filename, const char *new_filename) |
| int | renameat (int olddirfd, const char *oldpath, int newdirfd, const char *newpath) |
| int | ferror (FILE *f) |
| void | clearerr (FILE *f) |
| int | feof (FILE *f) |
| int | sprintf (char *str, const char *format,...) |
| int | vsprintf (char *str, const char *format, va_list ap) |
| int | snprintf (char *str, size_t size, const char *format,...) |
| int | vsnprintf (char *str, size_t size, const char *format, va_list ap) |
| int | asprintf (char **strp, const char *format,...) |
| int | vasprintf (char **strp, const char *format, va_list ap) |
| int | vsscanf (const char *str, const char *format, va_list ap) |
| int | sscanf (const char *str, const char *format,...) |
| int | remove (const char *filename) |
| char * | tmpnam (char *str) |
| ssize_t | getline (char **lineptr, size_t *n, FILE *f) |
Variables | |
| __VSF_VPLT_DECORATOR__ vsf_linux_libc_stdio_vplt_t | vsf_linux_libc_stdio_vplt |
| #define __USE_LOCAL_STDBOOL__ |
Do not include stdbool in compiler.h, because user maybe define bool, which maybe conflict with bool in stdbool.h
| #define ferror VSF_LINUX_LIBC_WRAPPER(ferror) |
| #define clearerr VSF_LINUX_LIBC_WRAPPER(clearerr) |
| #define getc VSF_LINUX_LIBC_WRAPPER(getc) |
| int getchar VSF_LINUX_LIBC_WRAPPER(getchar) |
| #define putc VSF_LINUX_LIBC_WRAPPER(putc) |
| #define putchar VSF_LINUX_LIBC_WRAPPER(putchar) |
| #define ungetc VSF_LINUX_LIBC_WRAPPER(ungetc) |
| #define feof VSF_LINUX_LIBC_WRAPPER(feof) |
| #define fopen VSF_LINUX_LIBC_WRAPPER(fopen) |
| #define fdopen VSF_LINUX_LIBC_WRAPPER(fdopen) |
| #define freopen VSF_LINUX_LIBC_WRAPPER(freopen) |
| #define fclose VSF_LINUX_LIBC_WRAPPER(fclose) |
| #define fileno VSF_LINUX_LIBC_WRAPPER(fileno) |
| #define fseek VSF_LINUX_LIBC_WRAPPER(fseek) |
| #define fseeko VSF_LINUX_LIBC_WRAPPER(fseeko) |
| #define fseeko64 VSF_LINUX_LIBC_WRAPPER(fseeko64) |
| #define ftell VSF_LINUX_LIBC_WRAPPER(ftell) |
| #define ftello VSF_LINUX_LIBC_WRAPPER(ftello) |
| #define ftello64 VSF_LINUX_LIBC_WRAPPER(ftello64) |
| #define rewind VSF_LINUX_LIBC_WRAPPER(rewind) |
| #define fgetpos VSF_LINUX_LIBC_WRAPPER(fgetpos) |
| #define fsetpos VSF_LINUX_LIBC_WRAPPER(fsetpos) |
| #define fgetpos64 VSF_LINUX_LIBC_WRAPPER(fgetpos64) |
| #define fsetpos64 VSF_LINUX_LIBC_WRAPPER(fsetpos64) |
| #define fwrite VSF_LINUX_LIBC_WRAPPER(fwrite) |
| #define fread VSF_LINUX_LIBC_WRAPPER(fread) |
| #define fflush VSF_LINUX_LIBC_WRAPPER(fflush) |
| #define fgetc VSF_LINUX_LIBC_WRAPPER(fgetc) |
| #define fgets VSF_LINUX_LIBC_WRAPPER(fgets) |
| #define gets VSF_LINUX_LIBC_WRAPPER(gets) |
| #define fputc VSF_LINUX_LIBC_WRAPPER(fputc) |
| #define fputs VSF_LINUX_LIBC_WRAPPER(fputs) |
| #define puts VSF_LINUX_LIBC_WRAPPER(puts) |
| #define printf VSF_LINUX_LIBC_WRAPPER(printf) |
| #define vprintf VSF_LINUX_LIBC_WRAPPER(vprintf) |
| #define vfprintf VSF_LINUX_LIBC_WRAPPER(vfprintf) |
| #define vdprintf VSF_LINUX_LIBC_WRAPPER(vdprintf) |
| #define fprintf VSF_LINUX_LIBC_WRAPPER(fprintf) |
| #define dprintf VSF_LINUX_LIBC_WRAPPER(dprintf) |
| #define fiprintf VSF_LINUX_LIBC_WRAPPER(fiprintf) |
| #define fscanf VSF_LINUX_LIBC_WRAPPER(fscanf) |
| #define vfscanf VSF_LINUX_LIBC_WRAPPER(vfscanf) |
| #define perror VSF_LINUX_LIBC_WRAPPER(perror) |
| #define setvbuf VSF_LINUX_LIBC_WRAPPER(setvbuf) |
| #define rename VSF_LINUX_LIBC_WRAPPER(rename) |
| #define renameat VSF_LINUX_LIBC_WRAPPER(renameat) |
| FILE * tmpfile VSF_LINUX_LIBC_WRAPPER(tmpfile) |
| #define tmpnam VSF_LINUX_LIBC_WRAPPER(tmpnam) |
| #define vsnprintf VSF_LINUX_LIBC_WRAPPER(vsnprintf) |
| #define snprintf VSF_LINUX_LIBC_WRAPPER(snprintf) |
| #define __VSF_STDIO_INTERNAL_FILE_NAME __VSF_STDIO_FILE |
| #define stdin __vsf_linux_stdin() |
| #define stdout __vsf_linux_stdout() |
| #define stderr __vsf_linux_stderr() |
| #define BUFSIZ 512 |
| #define L_tmpnam 260 |
| #define SEEK_SET 0 |
| #define SEEK_CUR 1 |
| #define SEEK_END 2 |
| #define EOF -1 |
| #define _IOFBF 0x0000 |
| #define _IOLBF 0x0040 |
| #define _IONBF 0x0004 |
| #define FILENAME_MAX 128 |
| typedef struct __VSF_STDIO_INTERNAL_FILE_NAME FILE |
| typedef struct vsf_linux_libc_stdio_vplt_t vsf_linux_libc_stdio_vplt_t |
| FILE * __vsf_linux_stdin | ( | void | ) |
| FILE * __vsf_linux_stdout | ( | void | ) |
| FILE * __vsf_linux_stderr | ( | void | ) |
| void perror | ( | const char * | str | ) |
| void setbuf | ( | FILE * | f, |
| char * | buf | ||
| ) |
| void setlinebuf | ( | FILE * | f | ) |
| int putchar | ( | int | ch | ) |
| int fgetc | ( | FILE * | f | ) |
| int fputc | ( | int | ch, |
| FILE * | f | ||
| ) |
| int getc | ( | FILE * | f | ) |
| int putc | ( | int | ch, |
| FILE * | f | ||
| ) |
| int ungetc | ( | int | c, |
| FILE * | f | ||
| ) |
| int puts | ( | const char * | str | ) |
| int fputs | ( | const char * | str, |
| FILE * | f | ||
| ) |
| char * fgets | ( | char * | str, |
| int | n, | ||
| FILE * | f | ||
| ) |
| int scanf | ( | const char * | format, |
| ... | |||
| ) |
| int vscanf | ( | const char * | format, |
| va_list | ap | ||
| ) |
| int fscanf | ( | FILE * | f, |
| const char * | format, | ||
| ... | |||
| ) |
| int vfscanf | ( | FILE * | f, |
| const char * | format, | ||
| va_list | ap | ||
| ) |
| int printf | ( | const char * | format, |
| ... | |||
| ) |
| int fprintf | ( | FILE * | f, |
| const char * | format, | ||
| ... | |||
| ) |
| int vfprintf | ( | FILE * | f, |
| const char * | format, | ||
| va_list | ap | ||
| ) |
| int dprintf | ( | int | fd, |
| const char * | format, | ||
| ... | |||
| ) |
| int vdprintf | ( | int | fd, |
| const char * | format, | ||
| va_list | ap | ||
| ) |
| int fiprintf | ( | FILE * | f, |
| const char * | format, | ||
| ... | |||
| ) |
| int vprintf | ( | const char * | format, |
| va_list | ap | ||
| ) |
| FILE * fopen | ( | const char * | filename, |
| const char * | mode | ||
| ) |
| FILE * fdopen | ( | int | fildes, |
| const char * | mode | ||
| ) |
| int fclose | ( | FILE * | f | ) |
| int fileno | ( | FILE * | f | ) |
| int fseek | ( | FILE * | f, |
| long | offset, | ||
| int | fromwhere | ||
| ) |
| long ftell | ( | FILE * | f | ) |
| void rewind | ( | FILE * | f | ) |
| int fflush | ( | FILE * | f | ) |
| FILE * popen | ( | const char * | command, |
| const char * | type | ||
| ) |
| int pclose | ( | FILE * | stream | ) |
| int rename | ( | const char * | old_filename, |
| const char * | new_filename | ||
| ) |
| int renameat | ( | int | olddirfd, |
| const char * | oldpath, | ||
| int | newdirfd, | ||
| const char * | newpath | ||
| ) |
| int ferror | ( | FILE * | f | ) |
| void clearerr | ( | FILE * | f | ) |
| int feof | ( | FILE * | f | ) |
| int sprintf | ( | char * | str, |
| const char * | format, | ||
| ... | |||
| ) |
| int vsprintf | ( | char * | str, |
| const char * | format, | ||
| va_list | ap | ||
| ) |
| int snprintf | ( | char * | str, |
| size_t | size, | ||
| const char * | format, | ||
| ... | |||
| ) |
| int vsnprintf | ( | char * | str, |
| size_t | size, | ||
| const char * | format, | ||
| va_list | ap | ||
| ) |
| int asprintf | ( | char ** | strp, |
| const char * | format, | ||
| ... | |||
| ) |
| int vasprintf | ( | char ** | strp, |
| const char * | format, | ||
| va_list | ap | ||
| ) |
| int vsscanf | ( | const char * | str, |
| const char * | format, | ||
| va_list | ap | ||
| ) |
| int sscanf | ( | const char * | str, |
| const char * | format, | ||
| ... | |||
| ) |
| int remove | ( | const char * | filename | ) |
| char * tmpnam | ( | char * | str | ) |
|
extern |