Searched refs:fileno (Results 1 - 25 of 129) sorted by relevance

123456

/osnet-11/usr/src/lib/libast/common/stdio/
H A Dfileno.c28 NoN(fileno)
32 #undef fileno
35 fileno(Sfio_t* f)
37 STDIO_INT(f, "fileno", int, (Sfio_t*), (f))
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dfileno.c32 #pragma weak _fileno = fileno
44 fileno(FILE *iop) function
H A Dgetpass.c92 (void) ioctl(fileno(fi), TCGETA, &ttyb);
95 (void) ioctl(fileno(fi), TCSETAF, &ttyb);
108 (void) ioctl(fileno(fi), TCSETAW, &ttyb);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/FileCache/t/
H A D05override.t19 print 'not ' if fileno($_);
H A D02maxopen.t26 ok(fileno($path) || $path =~ /^(?:foo|bar)$/);
27 next unless fileno($path);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/List/Util/t/
H A Dopenhan.t28 print "not " unless fileno(openhandle(*STDERR)) == fileno(STDERR);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/io/
H A Ddup.t96 isnt(fileno(F), fileno(STDOUT));
100 is(fileno(F), fileno(STDIN));
104 is(fileno(F), fileno(STDOUT));
108 is(fileno(F), fileno(STDERR));
112 my $g = fileno(G);
115 is(fileno(
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Opcode/t/
H A Dops.t16 no ops 'fileno'; # equiv to "perl -M-ops=fileno"
17 $a = fileno STDIN;
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtgetent.c61 (void) setupterm(name, fileno(stdout), &err);
/osnet-11/usr/src/grub/grub2/include/grub/arc/
H A Darc.h190 grub_arc_fileno_t *fileno);
193 grub_arc_err_t (*close) (grub_arc_fileno_t fileno);
194 grub_arc_err_t (*read) (grub_arc_fileno_t fileno, void *buf,
197 grub_arc_err_t (*get_read_status) (grub_arc_fileno_t fileno);
198 grub_arc_err_t (*write) (grub_arc_fileno_t fileno, void *buf,
203 grub_arc_err_t (*seek) (grub_arc_fileno_t fileno,
210 grub_arc_err_t (*getfileinformation) (grub_arc_fileno_t fileno,
217 struct grub_arc_display_status * (*getdisplaystatus) (grub_arc_fileno_t fileno);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dfh.t15 ok(!defined(fileno($a)));
/osnet-11/usr/src/lib/efcode/engine/
H A Dsignal.c60 ioctl(fileno(stdin), TCSETA, &saved_termio);
65 ioctl(fileno(stdin), TCSETA, &saved_termio);
78 ioctl(fileno(stdin), TCGETA, &saved_termio);
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dloadsave.c476 if (lockfile(fileno(fp), F_RDLCK)) {
481 set_perm(fileno(fp));
517 (void) lockfile(fileno(fp), F_UNLCK);
565 if (lockfile(fileno(fp), F_WRLCK)) {
570 set_perm(fileno(fp));
606 (void) lockfile(fileno(fp), F_UNLCK);
642 if (lockfile(fileno(fp), F_RDLCK)) {
646 set_perm(fileno(fp));
653 (void) lockfile(fileno(fp), F_UNLCK);
659 (void) lockfile(fileno(f
[all...]
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mdcf.c69 (void) fchmod(fileno(tfp), (sbuf.st_mode & 0777));
70 (void) fchown(fileno(tfp), sbuf.st_uid, sbuf.st_gid);
121 if (fsync(fileno(mfp)) != 0) {
H A Dmeta_systemfile.c83 (fstat(fileno(fp), &sbuf) != 0)) {
112 if ((fchmod(fileno(*tfp), (sbuf.st_mode & 0777))
114 (fchown(fileno(*tfp), sbuf.st_uid, sbuf.st_gid)
179 (fsync(fileno(*tfp)) != 0)) {
263 (fsync(fileno(tfp)) != 0)) {
472 (fsync(fileno(tfp)) != 0)) {
H A Dmeta_patch_root.c99 (fsync(fileno(tsfp)) != 0) ||
106 (fsync(fileno(dbtfp)) != 0) ||
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/Temp/t/
H A Dmktemp.t24 print "# MKSTEMP: FH is $fh File is $template fileno=".fileno($fh)."\n";
70 print "# MKSTEMPS: File is $template -> $fname fileno=".fileno($fh)."\n";
/osnet-11/usr/src/lib/libcurses/screen/
H A Doutch.c71 unctrl(c&0177), SP, cur_term->Filedes, fileno(SP->term_file));
H A Dnewscreen.c96 fileno(outfptr), infptr, fileno(infptr), isatty(2),
103 if (setupterm(type, fileno(outfptr), &retcode) != 0)
142 (void) typeahead(fileno(infptr));
143 (void) tinputfd(fileno(infptr));
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkrbfileio.c97 if (fsync(fileno(fp))) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/t/
H A Dvia.t44 my $fd = open($fh,">$tmp") && fileno($fh);
51 # Now open normally again to see if we get right fileno
52 my $fd2 = open($fh,"<$tmp") && fileno($fh);
/osnet-11/usr/src/lib/libunistat/common/
H A Dspcs_log.c81 if (fcntl(fileno(fp), F_SETLKW, &lk) < 0)
95 (void) fcntl(fileno(fp), F_SETLKW, &lk);
/osnet-11/usr/src/lib/libgen/common/
H A Dp2open.c119 fds[0] = fileno(fpp[0]);
120 fds[1] = fileno(fpp[1]);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/t/
H A Dio_poll.t26 my $dupout = IO::Handle->new_from_fd(fileno($stdout),"w");
/osnet-11/usr/src/lib/libwrap/
H A Drfc931.c146 if (bind(fileno(fp), (struct sockaddr *) &our_query_sin,
148 connect(fileno(fp), (struct sockaddr *) &rmt_query_sin,

Completed in 107 milliseconds

123456