pike.git / src / modules / _Stdio / file_functions.h

version» Context lines:

pike.git/src/modules/_Stdio/file_functions.h:8:      /* function(string,string,void|int:int) */   FILE_FUNC("open",file_open, tFunc(tStr tStr tOr(tVoid,tInt),tInt))   #ifdef HAVE_OPENAT   /* function(string,string,void|int:int) */   FILE_FUNC("openat",file_openat, tFunc(tStr tStr tOr(tVoid,tInt),tObjImpl_STDIO_FD))   #endif   /* function(string|void:int) */   FILE_FUNC("close",file_close, tFunc(tOr(tStr,tVoid),tInt))   /* function(int|void,int|void:string) */ - FILE_FUNC("read",file_read, tFunc(tOr(tInt,tVoid) tOr(tInt01,tVoid),tStr8)) + FILE_FUNC("read",file_read, tOr(tFunc(tObj,tInt),tFunc(tOr(tInt,tVoid) tOr(tInt01,tVoid),tStr8)))   /* function(float|int|void:int) */   FILE_FUNC("peek",file_peek, tFunc(tOr3(tFlt,tInt,tVoid) tOr(tInt,tVoid), tInt))   /* function(string|array(string),mixed...:int) */   FILE_FUNC("write",file_write, -  tOr3(tFunc(tStr, tInt), +  tOr4(tFunc(tStr, tInt), +  tFuncV(tObj, tOr(tInt, tVoid), tInt),    tFuncV(tArr(tStr), tMixed, tInt),    tFuncV(tAttr("sprintf_format", tStr),    tAttr("sprintf_args", tMixed),tInt)))   /* function(int|void,int|void:string) */   FILE_FUNC("read_oob",file_read_oob, tFunc(tOr(tInt,tVoid) tOr(tInt,tVoid),tStr8))   /* function(string,mixed...:int) */   FILE_FUNC("write_oob",file_write_oob,    tOr3(tFunc(tStr, tInt),    tFuncV(tArr(tStr), tMixed, tInt),    tFuncV(tAttr("sprintf_format", tStr),