/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | tinputfd.c | 50 tinputfd(int fd) argument 52 cur_term->_inputfd = fd;
|
H A D | typeahead.c | 49 * Set the file descriptor for typeahead checks to fd. fd can be -1 54 typeahead(int fd) argument 103 * cur_term->_check_fd = (tty = ttyname(fd)) ? 106 if (isatty(fd)) { 116 if (isatty(fd)) 117 cur_term->_check_fd = fd;
|
/osnet-11/usr/src/lib/libnsl/nsl/ |
H A D | t_getstate.c | 42 _tx_getstate(int fd, int api_semantics) argument 46 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL)
|
H A D | t_close.c | 42 _tx_close(int fd, int api_semantics) argument 47 if (_t_checkfd(fd, 0, api_semantics) == NULL) 52 if (_t_delete_tilink(fd) < 0) { 64 (void) close(fd);
|
H A D | t_sync.c | 41 _tx_sync(int fd, int api_semantics) argument 58 if ((tiptr = _t_checkfd(fd, force_sync, api_semantics)) == NULL)
|
H A D | t_sndrel.c | 49 _tx_sndrel(int fd, int api_semantics) argument 55 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) 77 if (_t_look_locked(fd, tiptr, 0, 97 if (putmsg(fd, &ctlbuf, NULL, 0) < 0) {
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | can_use_af.c | 49 int fd; local 51 if ((fd = open("/dev/udp", O_RDONLY)) < 0) { 56 if (ioctl(fd, SIOCGLIFNUM, &lifn, sizeof (lifn)) < 0) { 60 (void) close(fd);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | unlck_file.c | 34 krb5_unlock_file(krb5_context context, int fd) argument 36 return krb5_lock_file(context, fd, KRB5_LOCKMODE_UNLOCK);
|
H A D | net_read.c | 32 * krb5_net_read() reads from the file descriptor "fd" to the buffer 34 * read anymore from "fd". It returns the number of bytes read 42 krb5_net_read(krb5_context context, int fd, register char *buf, register int len) argument 47 cc = SOCKET_READ((SOCKET)fd, buf, len);
|
/osnet-11/usr/src/lib/libast/common/stdio/ |
H A D | _stdopen.c | 29 _stdopen(int fd, const char* mode) argument 31 return fdopen(fd, mode);
|
H A D | fdopen.c | 27 fdopen(int fd, const char* mode) argument 31 if (fd < 0 || !(flags = _sftype(mode, NiL, NiL))) 33 return sfnew(NiL, NiL, (size_t)SF_UNBOUND, fd, flags);
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | isastream.c | 49 isastream(int fd) argument 53 rval = ioctl(fd, I_CANPUT, 0);
|
H A D | tcgetpgrp.c | 40 tcgetpgrp(int fd) argument 44 if (tcgetsid(fd) < 0 || ioctl(fd, TIOCGPGRP, &pgrp) < 0)
|
H A D | tcsetpgrp.c | 40 tcsetpgrp(int fd, pid_t pgrp) argument 42 if (tcgetsid(fd) < 0) 44 return (ioctl(fd, TIOCSPGRP, &pgrp));
|
H A D | closedir.c | 49 int fd = dirp->d_fd; local 54 return (close(fd));
|
H A D | daemon.c | 45 int retv, fd; local 77 if ((fd = open("/dev/null", O_RDWR)) == -1) 86 if ((fd != STDIN_FILENO) && (dup2(fd, STDIN_FILENO) < 0)) { 87 (void) close(fd); 90 if ((fd != STDOUT_FILENO) && (dup2(fd, STDOUT_FILENO) < 0)) { 91 (void) close(fd); 94 if ((fd != STDERR_FILENO) && (dup2(fd, STDERR_FILEN [all...] |
H A D | opendir.c | 48 int fd; local 51 if ((fd = openat(AT_FDCWD, filename, 54 if ((dirp = fdopendir(fd)) == NULL) 55 (void) close(fd);
|
H A D | tcgetsid.c | 41 tcgetsid(int fd) argument 45 if ((ioctl(fd, TIOCGSID, &ttysid)) < 0 ||
|
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | flushinp.c | 53 int fd; local 63 fd = cur_term->_ifd; 65 fd = cur_term->_ofd; 67 fd = -1; 69 if (0 <= fd) 70 (void) tcflush(fd, TCIFLUSH);
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | flushinp.c | 58 int fd; local 64 fd = cur_term->_ifd; 66 fd = cur_term->_ofd; 68 fd = -1; 70 if (0 <= fd) 71 (void) tcflush(fd, TCIFLUSH);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_io.h | 18 int fd; member in struct:krb5_rc_iostuff
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | getpeerucred.c | 39 getpeerucred(int fd, ucred_t **ucp) argument 49 if (syscall(SYS_ucredsys, UCREDSYS_GETPEERUCRED, fd, uc) != 0) {
|
/osnet-11/usr/src/lib/libtsol/common/ |
H A D | getlabel.c | 63 fgetlabel(int fd, bslabel_t *label) argument 65 return (syscall(SYS_labelsys, TSOL_FGETLABEL, fd, label));
|
/osnet-11/usr/src/lib/libresolv2/common/bsd/ |
H A D | daemon.c | 53 int fd; local 70 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) { 71 (void)dup2(fd, STDIN_FILENO); 72 (void)dup2(fd, STDOUT_FILENO); 73 (void)dup2(fd, STDERR_FILENO); 74 if (fd > 2) 75 (void)close (fd);
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | fflush.c | 51 int fd; local 67 SM_CONVERT_TIME(fp, fd, timeout, &to); 97 int fd; local 116 if ((fd = sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL)) == -1) 118 /* can't get an fd, likely internal 'fake' fp */ 120 fd = -1; 142 if (IS_IO_ERROR(fd, t, *timeout)) 149 SM_IO_WR_TIMEOUT(fp, fd, *timeout);
|