Home | History | Annotate | Download | only in Modules

Lines Matching defs:fileno

1004 "Windows: mmap(fileno, length[, tagname[, access[, offset]]])\n\
1006 Maps length bytes from the file specified by the file handle fileno,\n\
1013 Unix: mmap(fileno, length[, flags[, prot[, access[, offset]]]])\n\
1015 Maps length bytes from the file specified by the file descriptor fileno,\n\
1024 To map anonymous memory, pass -1 as the fileno (both versions).");
1088 static char *keywords[] = {"fileno", "length",
1244 int fileno;
1248 static char *keywords[] = { "fileno", "length",
1253 &fileno, &map_size,
1289 XXX: fileno == 0 is a valid fd, but was accepted prior to 2.5.
1291 if (fileno == 0)
1296 if (fileno != -1 && fileno != 0) {
1297 /* Ensure that fileno is within the CRT's valid range */
1299 fh = (HANDLE)_get_osfhandle(fileno);
1306 lseek(fileno, 0, SEEK_SET);