view R/rdyncall/inst/dynports/stdio.R @ 39:b6114d9a9a98

- shdc: more sig chars for call conv mode selection - readme cleanup
author Tassilo Philipp
date Mon, 13 Apr 2020 21:58:48 +0200
parents 0cfcc391201f
children
line wrap: on
line source



dynbind( c("msvcrt","c","c.so.6"), "
__sputc(i*<__sFILE>)i;
__srget(*<__sFILE>)i;
__svfscanf(*<__sFILE>*c*c)i;
__swbuf(i*<__sFILE>)i;
asprintf(**c)i;
clearerr(*<__sFILE>)v;
ctermid(*c)*c;
ctermid_r(*c)*c;
fclose(*<__sFILE>)i;
fdopen(i*c)*<__sFILE>;
feof(*<__sFILE>)i;
ferror(*<__sFILE>)i;
fflush(*<__sFILE>)i;
fgetc(*<__sFILE>)i;
fgetln(*<__sFILE>*J)*c;
fgetpos(*<__sFILE>*l)i;
fgets(*ci*<__sFILE>)*c;
fileno(*<__sFILE>)i;
flockfile(*<__sFILE>)v;
fmtcheck(*c*c)*c;
fopen(*c*c)*<__sFILE>;
fprintf(*<__sFILE>*c)i;
fpurge(*<__sFILE>)i;
fputc(i*<__sFILE>)i;
fputs(*c*<__sFILE>)i;
fread(*vJJ*<__sFILE>)J;
freopen(*c*c*<__sFILE>)*<__sFILE>;
fscanf(*<__sFILE>*c)i;
fseek(*<__sFILE>ji)i;
fseeko(*<__sFILE>li)i;
fsetpos(*<__sFILE>*l)i;
ftell(*<__sFILE>)j;
ftello(*<__sFILE>)l;
ftrylockfile(*<__sFILE>)i;
funlockfile(*<__sFILE>)v;
funopen(*v*p*p*p*p)*<__sFILE>;
fwrite(*vJJ*<__sFILE>)J;
getc(*<__sFILE>)i;
getc_unlocked(*<__sFILE>)i;
getchar()i;
getchar_unlocked()i;
gets(*c)*c;
getw(*<__sFILE>)i;
pclose(*<__sFILE>)i;
perror(*c)v;
popen(*c*c)*<__sFILE>;
printf(_e*c)i;
putc(i*<__sFILE>)i;
putc_unlocked(i*<__sFILE>)i;
putchar(i)i;
putchar_unlocked(i)i;
puts(*c)i;
putw(i*<__sFILE>)i;
remove(*c)i;
rename(*c*c)i;
rewind(*<__sFILE>)v;
scanf(*c)i;
setbuf(*<__sFILE>*c)v;
setbuffer(*<__sFILE>*ci)v;
setlinebuf(*<__sFILE>)i;
setvbuf(*<__sFILE>*ciJ)i;
snprintf(*cJ*c)i;
sprintf(*c*c)i;
sscanf(*c*c)i;
tempnam(*c*c)*c;
tmpfile()*<__sFILE>;
tmpnam(*c)*c;
ungetc(i*<__sFILE>)i;
vasprintf(**c*c)i;
vfprintf(*<__sFILE>*c*c)i;
vfscanf(*<__sFILE>*c*c)i;
vprintf(*c*c)i;
vscanf(*c*c)i;
vsnprintf(*cJ*c*c)i;
vsprintf(*c*c*c)i;
vsscanf(*c*c*c)i;
zopen(*c*ci)*<__sFILE>;
")
SEEK_CUR=1
SEEK_END=2
SEEK_SET=0