Lines Matching defs:fd
58 int fd;73 fd = open(filename, O_CREAT|O_EXCL|O_WRONLY, 0600);74 if (fd == -1)76 fp = fdopen(fd, "w");78 close(fd);121 int fd;126 fd = open(filename, O_RDONLY, 0600);127 if (fd == -1) {132 fp = fdopen(fd, "r");134 close(fd);139 if (fstat(fd, &sbuf_fstat) != 0) {