Home
last modified time | relevance | path

Searched refs:obf (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dfcntl.c81 struct o_flock obf; in fcntl() local
337 if (copyin((void *)arg, &obf, sizeof (obf))) { in fcntl()
341 bf.l_type = obf.l_type; in fcntl()
342 bf.l_whence = obf.l_whence; in fcntl()
343 bf.l_start = (off64_t)obf.l_start; in fcntl()
344 bf.l_len = (off64_t)obf.l_len; in fcntl()
345 bf.l_sysid = (int)obf.l_sysid; in fcntl()
346 bf.l_pid = obf.l_pid; in fcntl()
459 obf.l_type = (int16_t)bf.l_type; in fcntl()
460 obf.l_whence = (int16_t)bf.l_whence; in fcntl()
[all …]
/illumos-gate/usr/src/cmd/dd/
H A Ddd.c137 static int obf; /* output file descriptor */ variable
898 obf = -1; in main()
901 obf = open(ofile, (O_WRONLY | O_CREAT | oflag), in main()
905 obf = open(ofile, O_WRONLY | O_CREAT | oflag, in main()
908 if (obf == -1) { in main()
913 (void) fstat(obf, &file_stat); in main()
915 (ftruncate(obf, (((off_t)oseekn) * ((off_t)obs))) in main()
921 obf = open(ofile, O_WRONLY | O_CREAT | O_TRUNC | oflag, in main()
927 obf = dup(STDOUT_FILENO); in main()
930 if (obf == -1) { in main()
[all …]