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

version» Context lines:

pike.git/src/modules/_Stdio/file_functions.h:28:    tOr3(tFunc(tStr, tInt),    tFuncV(tArr(tStr), tMixed, tInt),    tFuncV(tAttr("sprintf_format", tStr),    tAttr("sprintf_args", tMixed),tInt)))   /* TODO kqueue: we should add an read_fs_event() for when not using callback mode. */      #ifdef HAVE_PIKE_SEND_FD   FILE_FUNC("send_fd", file_send_fd, tFunc(tObjIs_STDIO_FD, tVoid))   #endif    - #ifdef SO_LINGER +    /* function(int(-1..65535)|void:int(0..1)) */   FILE_FUNC("linger", file_linger,    tFunc(tOr3(tInt_10, tWord, tVoid), tInt01)) - #endif +     - #ifdef TCP_NODELAY +    /* function(int(0..1)|void:int(0..1)) */   FILE_FUNC("set_nodelay", file_nodelay,    tFunc(tOr(tInt01, tVoid), tInt01)) - #endif +       #ifdef HAVE_FSYNC   /* function(:int) */   FILE_FUNC("sync", file_sync, tFunc(tNone,tInt))   #endif /* HAVE_FSYNC */      /* function(int,int|void,int|void:int) */   FILE_FUNC("seek",file_seek,    tOr(tFunc(tInt tOr(tNStr(tInt05),tVoid),tInt),    tAttr("deprecated",tFunc(tInt tInt tOr(tInt,tVoid),tInt))))