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.c80 struct o_flock obf; in fcntl() local
304 if (copyin((void *)arg, &obf, sizeof (obf))) { in fcntl()
308 bf.l_type = obf.l_type; in fcntl()
309 bf.l_whence = obf.l_whence; in fcntl()
311 bf.l_len = (off64_t)obf.l_len; in fcntl()
312 bf.l_sysid = (int)obf.l_sysid; in fcntl()
313 bf.l_pid = obf.l_pid; in fcntl()
426 obf.l_type = (int16_t)bf.l_type; in fcntl()
429 obf.l_len = (int32_t)bf.l_len; in fcntl()
440 obf.l_pid = (int16_t)bf.l_pid; 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()
927 obf = dup(STDOUT_FILENO); in main()
930 if (obf == -1) { in main()
1195 if ((close(obf) != 0) || in main()
[all …]