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

version» Context lines:

pike.git/src/modules/_Stdio/file_functions.h:160: 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))