VSF Documented
Macros | Functions | Variables
vsf_linux_glibc_stdio.c File Reference
#include "../../vsf_linux_cfg.h"
#include "../../include/unistd.h"
#include "../../include/sys/types.h"
#include "../../include/sys/wait.h"
#include "../../include/simple_libc/stdio.h"
#include "../../include/errno.h"
#include "../../include/fcntl.h"
#include "../../include/simple_libc/string.h"

Macros

#define __VSF_LINUX_CLASS_INHERIT__
 
#define __VSF_LINUX_FS_CLASS_INHERIT__
 
#define _GNU_SOURCE
 
#define VSF_LINUX_CFG_PRINT_BUFF_SIZE   256
 

Functions

FILE__vsf_linux_stdin (void)
 
FILE__vsf_linux_stdout (void)
 
FILE__vsf_linux_stderr (void)
 
void setbuf (FILE *f, char *buf)
 
int setvbuf (FILE *stream, char *buffer, int mode, size_t size)
 
void setbuffer (FILE *f, char *buf, size_t size)
 
void setlinebuf (FILE *f)
 
int ungetc (int ch, FILE *f)
 
int getc (FILE *f)
 
int getchar (void)
 
FILEfopen (const char *filename, const char *mode)
 
FILEfdopen (int fd, const char *mode)
 
FILEfreopen (const char *filename, const char *mode, FILE *f)
 
int fclose (FILE *f)
 
int fileno (FILE *stream)
 
int fseeko64 (FILE *f, off64_t offset, int fromwhere)
 
int fseeko (FILE *f, off_t offset, int fromwhere)
 
int fseek (FILE *f, long offset, int fromwhere)
 
off64_t ftello64 (FILE *f)
 
off_t ftello (FILE *f)
 
long ftell (FILE *f)
 
void rewind (FILE *f)
 
int fgetpos64 (FILE *f, fpos_t *pos)
 
int fsetpos64 (FILE *f, const fpos_t *pos)
 
int fgetpos (FILE *f, fpos_t *pos)
 
int fsetpos (FILE *f, const fpos_t *pos)
 
size_t fwrite (const void *ptr, size_t size, size_t nmemb, FILE *f)
 
size_t fread (void *ptr, size_t size, size_t nmemb, FILE *f)
 
int fflush (FILE *f)
 
int fgetc (FILE *f)
 
char * fgets (char *str, int n, FILE *f)
 
char * gets (char *str)
 
int fputc (int ch, FILE *f)
 
int fputs (const char *str, FILE *f)
 
int puts (const char *str)
 
int putc (int ch, FILE *f)
 
int putchar (int c)
 
int vasprintf (char **strp, const char *format, va_list ap)
 
int asprintf (char **strp, const char *format,...)
 
int vfprintf (FILE *f, const char *format, va_list ap)
 
int vdprintf (int fd, const char *format, va_list ap)
 
int dprintf (int fd, const char *format,...)
 
int vprintf (const char *format, va_list arg)
 
int printf (const char *format,...)
 
int fprintf (FILE *f, const char *format,...)
 
int fiprintf (FILE *f, const char *format,...)
 
int vfscanf (FILE *f, const char *format, va_list ap)
 
int vscanf (const char *format, va_list ap)
 
int fscanf (FILE *f, const char *format,...)
 
int scanf (const char *format,...)
 
int ferror (FILE *f)
 
void clearerr (FILE *f)
 
int feof (FILE *f)
 
void perror (const char *str)
 
FILEpopen (const char *command, const char *type)
 
int pclose (FILE *stream)
 
FILEtmpfile (void)
 
char * tmpnam (char *str)
 
int rename (const char *old_filename, const char *new_filename)
 
int renameat (int olddirfd, const char *oldpath, int newdirfd, const char *newpath)
 
int remove (const char *pathname)
 
ssize_t getline (char **lineptr, size_t *n, FILE *f)
 

Variables

const vsf_linux_fd_op_t __vsf_linux_fs_fdop
 
__VSF_VPLT_DECORATOR__ vsf_linux_libc_stdio_vplt_t vsf_linux_libc_stdio_vplt
 

Macro Definition Documentation

◆ __VSF_LINUX_CLASS_INHERIT__

#define __VSF_LINUX_CLASS_INHERIT__

◆ __VSF_LINUX_FS_CLASS_INHERIT__

#define __VSF_LINUX_FS_CLASS_INHERIT__

◆ _GNU_SOURCE

#define _GNU_SOURCE

◆ VSF_LINUX_CFG_PRINT_BUFF_SIZE

#define VSF_LINUX_CFG_PRINT_BUFF_SIZE   256

Function Documentation

◆ __vsf_linux_stdin()

FILE * __vsf_linux_stdin ( void  )

◆ __vsf_linux_stdout()

FILE * __vsf_linux_stdout ( void  )

◆ __vsf_linux_stderr()

FILE * __vsf_linux_stderr ( void  )

◆ setbuf()

void setbuf ( FILE f,
char *  buf 
)

◆ setvbuf()

int setvbuf ( FILE stream,
char *  buffer,
int  mode,
size_t  size 
)

◆ setbuffer()

void setbuffer ( FILE f,
char *  buf,
size_t  size 
)

◆ setlinebuf()

void setlinebuf ( FILE f)

◆ ungetc()

int ungetc ( int  ch,
FILE f 
)

◆ getc()

int getc ( FILE f)

◆ getchar()

int getchar ( void  )

◆ fopen()

FILE * fopen ( const char *  filename,
const char *  mode 
)

◆ fdopen()

FILE * fdopen ( int  fd,
const char *  mode 
)

◆ freopen()

FILE * freopen ( const char *  filename,
const char *  mode,
FILE f 
)

◆ fclose()

int fclose ( FILE f)

◆ fileno()

int fileno ( FILE stream)

◆ fseeko64()

int fseeko64 ( FILE f,
off64_t  offset,
int  fromwhere 
)

◆ fseeko()

int fseeko ( FILE f,
off_t  offset,
int  fromwhere 
)

◆ fseek()

int fseek ( FILE f,
long  offset,
int  fromwhere 
)

◆ ftello64()

off64_t ftello64 ( FILE f)

◆ ftello()

off_t ftello ( FILE f)

◆ ftell()

long ftell ( FILE f)

◆ rewind()

void rewind ( FILE f)

◆ fgetpos64()

int fgetpos64 ( FILE f,
fpos_t pos 
)

◆ fsetpos64()

int fsetpos64 ( FILE f,
const fpos_t pos 
)

◆ fgetpos()

int fgetpos ( FILE f,
fpos_t pos 
)

◆ fsetpos()

int fsetpos ( FILE f,
const fpos_t pos 
)

◆ fwrite()

size_t fwrite ( const void *  ptr,
size_t  size,
size_t  nmemb,
FILE f 
)

◆ fread()

size_t fread ( void *  ptr,
size_t  size,
size_t  nmemb,
FILE f 
)

◆ fflush()

int fflush ( FILE f)

◆ fgetc()

int fgetc ( FILE f)

◆ fgets()

char * fgets ( char *  str,
int  n,
FILE f 
)

◆ gets()

char * gets ( char *  str)

◆ fputc()

int fputc ( int  ch,
FILE f 
)

◆ fputs()

int fputs ( const char *  str,
FILE f 
)

◆ puts()

int puts ( const char *  str)

◆ putc()

int putc ( int  ch,
FILE f 
)

◆ putchar()

int putchar ( int  c)

◆ vasprintf()

int vasprintf ( char **  strp,
const char *  format,
va_list  ap 
)

◆ asprintf()

int asprintf ( char **  strp,
const char *  format,
  ... 
)

◆ vfprintf()

int vfprintf ( FILE f,
const char *  format,
va_list  ap 
)

◆ vdprintf()

int vdprintf ( int  fd,
const char *  format,
va_list  ap 
)

◆ dprintf()

int dprintf ( int  fd,
const char *  format,
  ... 
)

◆ vprintf()

int vprintf ( const char *  format,
va_list  arg 
)

◆ printf()

int printf ( const char *  format,
  ... 
)

◆ fprintf()

int fprintf ( FILE f,
const char *  format,
  ... 
)

◆ fiprintf()

int fiprintf ( FILE f,
const char *  format,
  ... 
)

◆ vfscanf()

int vfscanf ( FILE f,
const char *  format,
va_list  ap 
)

◆ vscanf()

int vscanf ( const char *  format,
va_list  ap 
)

◆ fscanf()

int fscanf ( FILE f,
const char *  format,
  ... 
)

◆ scanf()

int scanf ( const char *  format,
  ... 
)

◆ ferror()

int ferror ( FILE f)

◆ clearerr()

void clearerr ( FILE f)

◆ feof()

int feof ( FILE f)

◆ perror()

void perror ( const char *  str)

◆ popen()

FILE * popen ( const char *  command,
const char *  type 
)

◆ pclose()

int pclose ( FILE stream)

◆ tmpfile()

FILE * tmpfile ( void  )

◆ tmpnam()

char * tmpnam ( char *  str)

◆ rename()

int rename ( const char *  old_filename,
const char *  new_filename 
)

◆ renameat()

int renameat ( int  olddirfd,
const char *  oldpath,
int  newdirfd,
const char *  newpath 
)

◆ remove()

int remove ( const char *  pathname)

◆ getline()

ssize_t getline ( char **  lineptr,
size_t n,
FILE f 
)

Variable Documentation

◆ __vsf_linux_fs_fdop

const vsf_linux_fd_op_t __vsf_linux_fs_fdop
extern

◆ vsf_linux_libc_stdio_vplt