/src/usr.sbin/wsfontload/ |
wsfontload.c | 142 int c, res, wsfd, ffd, verbose = 0, listfonts = 0; local in function:main 226 ffd = open(argv[0], O_RDONLY, 0); 227 if (ffd < 0) 232 ffd = 0; 237 if ((ffd != 0) && (fstat(ffd, &st) == 0)) { 243 read(ffd, b, 4); 246 read(ffd, b, 64); 252 read(ffd, &foo, 4); 254 read(ffd, &foo, 4) [all...] |
/src/bin/pax/ |
tables.c | 89 static int ffd = -1; /* tmp file for file time table name storage */ variable in typeref:typename:int 355 if ((ffd = mkstemp(tempfile)) == -1) { 408 if (lseek(ffd,pt->seek,SEEK_SET) != pt->seek) { 413 if (xread(ffd, ckname, namelen) != namelen) { 458 if ((pt->seek = lseek(ffd, (off_t)0, SEEK_END)) >= 0) { 459 if (xwrite(ffd, arcn->name, namelen) == namelen) {
|
/src/usr.sbin/vnconfig/ |
vnconfig.c | 351 int ffd; local in function:config 353 ffd = open(file, readonly ? O_RDONLY : O_RDWR); 354 if (ffd < 0) { 358 (void) close(ffd);
|
/src/usr.sbin/makefs/ |
ffs.c | 870 int isfile, ffd; local in function:ffs_write_file 886 ffd = -1; 917 if ((ffd = open((char *)buf, O_RDONLY, 0444)) == -1) { 930 else if ((nread = read(ffd, fbuf, chunk)) == -1) 976 if (ffd != -1) 977 close(ffd);
|