Lines Matching refs:fd
54 int fd;
66 if ((fd = open_locked(path, "r", MODE_NOREAD)) < 0) {
78 fld < SC_MAX && fdgets(buf, BUFSIZ, fd);
117 close(fd);
121 close(fd);
151 int fd;
162 if ((fd = open_locked(path, "w", MODE_NOREAD)) < 0) {
179 (void)fdprintf(fd, "%s\n", secbufp->req_id);
183 (void)fdprintf(fd, "%u\n", secbufp->uid);
187 (void)fdprintf(fd, "%s\n", secbufp->user);
191 (void)fdprintf(fd, "%u\n", secbufp->gid);
195 (void)fdprintf(fd, "%lu\n", secbufp->size);
199 (void)fdprintf(fd, "%ld\n", secbufp->date);
216 (void) fdprintf(fd, "%s\n",
219 (void) fdprintf(fd, "none\n");
222 (void) fdprintf(fd, "%s\n", secbufp->slabel);
226 close(fd);