Lines Matching defs:descriptor
84 if (fcntl(file->descriptor, F_SETFL, 0) < 0)
191 LispFdopen(int descriptor, int mode)
198 file->descriptor = descriptor;
202 if (fstat(descriptor, &st) == 0)
228 int descriptor;
251 descriptor = open(path, flags, 0666);
252 if (descriptor < 0)
256 file = LispFdopen(descriptor, mode);
258 close(descriptor);
269 close(file->descriptor);
289 int length = (*file->io_write)(file->descriptor,
333 if (read(file->descriptor, &c, 1) == 1)
342 int length = read(file->descriptor,
357 else if (read(file->descriptor, &c, 1) == 1)
382 else if ((*file->io_write)(file->descriptor, &c, 1) != 1)
512 bytes = read(file->descriptor, buffer, size);
534 bytes = read(file->descriptor, buffer, size);
547 bytes = read(file->descriptor, buffer, size);
588 bytes = (*file->io_write)(file->descriptor, buffer,
629 return ((*file->io_write)(file->descriptor, data, size));