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

version» Context lines:

pike.git/src/modules/_Stdio/file_functions.h:163: Inside #if defined(HAVE_GRANTPT) || defined(USE_PT_CHMOD) || defined(USE_CHGPT)
     #if defined(HAVE_GRANTPT) || defined(USE_PT_CHMOD) || defined(USE_CHGPT)   /* function(void:string) */   FILE_FUNC("grantpt",file_grantpt, tFunc(tNone,tStr))   #endif      /* From termios.c */   #if defined(HAVE_TERMIOS_H) || defined(HAVE_SYS_TERMIOS_H)   /* function(void:mapping) */   FILE_FUNC("tcgetattr",file_tcgetattr, tFunc(tNone,tMapping)) + #ifdef HAVE_TCGETATTR   /* function(mapping, void|string: int(0..1)) */   FILE_FUNC("tcsetattr", file_tcsetattr, tFunc(tMapping tOr(tVoid, tStr), tInt01))   /* function(int: int(0..1)) */   FILE_FUNC("tcsendbreak", file_tcsendbreak, tFunc(tInt, tInt01))   /* function(void|string: int(0..1)) */   FILE_FUNC("tcflush", file_tcflush, tFunc(tOr(tVoid, tStr), tInt01))   FILE_FUNC("tcdrain", file_tcdrain, tFunc(tNone, tInt01))   /* FILE_FUNC("tcflow",file_tcflow,"function(string:int)"); */   /* FILE_FUNC("tcgetpgrp",file_tcgetpgrp,"function(void:int)"); */   /* FILE_FUNC("tcsetpgrp",file_tcsetpgrp,"function(int:int)"); */ -  + #endif   #ifdef TIOCSWINSZ   FILE_FUNC("tcsetsize", file_tcsetsize, tFunc(tIntPos tIntPos, tInt01))   #endif   #endif      #ifdef SO_KEEPALIVE   /* function(int:int) */   FILE_FUNC("set_keepalive",file_set_keepalive, tFunc(tInt,tInt))   #endif      #if defined(HAVE_FSETXATTR) && defined(HAVE_FGETXATTR) && defined(HAVE_FLISTXATTR)   FILE_FUNC( "listxattr", file_listxattr, tFunc(tVoid,tArr(tStr)))   FILE_FUNC( "setxattr", file_setxattr, tFunc(tStr tStr tInt,tInt))   FILE_FUNC( "getxattr", file_getxattr, tFunc(tStr,tStr))   FILE_FUNC( "removexattr", file_removexattr, tFunc(tStr,tInt))   #endif      #undef FILE_FUNC   #undef FILE_OBJ