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

version» Context lines:

pike.git/src/modules/_Stdio/file_functions.h:165: Inside #if !defined(__NT__) && (defined(HAVE_POSIX_OPENPT) || defined(PTY_MASTER_PATHNAME))
  /* function(string:int) */   FILE_FUNC("openpt",file_openpt, tFunc(tStr,tInt))   #endif      #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) + #if defined(HAVE_TERMIOS_H) || defined(HAVE_SYS_TERMIOS_H) || defined(__NT__)   /* 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