Searched defs:fildes (Results 1 - 16 of 16) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Dtcdrain.c41 __tcdrain(int fildes) argument
43 return (ioctl(fildes, TCSBRK, 1));
H A Ddirectio.c40 directio(int fildes, int advice) argument
42 return (ioctl(fildes, _FIODIRECTIO, advice));
H A Dtcflow.c51 tcflow(int fildes, int action) argument
53 return (ioctl(fildes, TCXONC, action));
H A Dtcflush.c50 tcflush(int fildes, int queue_selector) argument
52 return (ioctl(fildes, TCFLSH, queue_selector));
H A Dtcgetattr.c40 * get parameters associated with fildes and store them in termios
44 tcgetattr(int fildes, struct termios *termios_p) argument
46 return (ioctl(fildes, TCGETS, termios_p));
H A Dtcsendbreak.c41 * If duration is not 0, ioctl(fildes, TCSBRK, 0) is used also to
47 tcsendbreak(int fildes, int duration) argument
49 return (ioctl(fildes, TCSBRK, duration));
H A Ddup.c36 dup(int fildes) argument
38 return (fcntl(fildes, F_DUPFD, 0));
43 dup2(int fildes, int fildes2) argument
45 return (fcntl(fildes, F_DUP2FD, fildes2));
H A Dtcsetattr.c45 tcsetattr(int fildes, int optional_actions, const struct termios *termios_p) argument
54 rval = ioctl(fildes, TCSETS, termios_p);
59 rval = ioctl(fildes, TCSETSW, termios_p);
64 rval = ioctl(fildes, TCSETSF, termios_p);
H A Dfattach.c52 fattach(int fildes, const char *path) argument
60 if ((s = isastream(fildes)) == 1 || __door_info(fildes, &dinfo) == 0) {
61 namefdp.fd = fildes;
H A Dlckpwdf.c62 static int fildes = -1; variable
78 if ((fildes = creat(LOCKFILE, 0600)) == -1)
81 if (fcntl(fildes, F_SETLK, &flock) != -1) {
87 (void) close(fildes);
88 fildes = -1;
113 if (lck_tid == thr_self() && fildes >= 0) {
115 (void) fcntl(fildes, F_SETLK, &flock);
116 (void) close(fildes);
117 fildes = -1;
H A Dtruncate.c57 ftruncate(int fildes, off_t len) argument
66 if (fcntl(fildes, F_FREESP, &lck) == -1) {
H A Dttyname.c179 * do we need to search anything at all? (is fildes a char special tty
331 __posix_ttyname_r(int fildes, char *name, size_t namesize) argument
344 if (ttyname_r(fildes, name, namelen) == NULL) {
/osnet-11/usr/src/lib/libc/port/sys/
H A Dlockf.c45 __lockf(int fildes, int function, off_t size) argument
61 rv = fcntl(fildes, F_SETLK, &l);
65 rv = fcntl(fildes, F_SETLKW, &l);
69 rv = fcntl(fildes, F_SETLK, &l);
73 rv = fcntl(fildes, F_GETLK, &l);
/osnet-11/usr/src/lib/libwanboot/common/
H A Dsocket_inet.c42 * Arguments: fildes - Socket file descriptor.
49 socket_read(int fildes, void *buf, size_t nbyte, int read_timeout) argument
53 pfd.fd = fildes;
66 return (recv(fildes, buf, nbyte, 0));
73 * Arguments: fildes - Socket file descriptor.
80 socket_write(int fildes, const void *buf, size_t nbyte, argument
83 return (sendto(fildes, buf, nbyte, 0, (struct sockaddr *)addr,
88 socket_close(int fildes) argument
90 return (close(fildes));
/osnet-11/usr/src/lib/libc/port/rt/
H A Dpos4obj.c74 __close_nc(int fildes) argument
80 val = close(fildes);
/osnet-11/usr/src/lib/libc/port/threads/
H A Dscalls.c709 close(int fildes) argument
723 _aio_close(fildes);
724 PERFORM(__close(fildes))
737 fcntl(int fildes, int cmd, ...) argument
748 return (__fcntl(fildes, cmd, arg));
749 PERFORM(__fcntl(fildes, cmd, arg))
753 fdatasync(int fildes) argument
758 PERFORM(__fdsync(fildes, FDSYNC))
762 fsync(int fildes) argument
767 PERFORM(__fdsync(fildes, FSYN
771 lockf(int fildes, int function, off_t size) argument
781 lockf64(int fildes, int function, off64_t size) argument
893 pread(int fildes, void *buf, size_t nbyte, off_t offset) argument
903 pread64(int fildes, void *buf, size_t nbyte, off64_t offset) argument
913 pwrite(int fildes, const void *buf, size_t nbyte, off_t offset) argument
923 pwrite64(int fildes, const void *buf, size_t nbyte, off64_t offset) argument
933 readv(int fildes, const struct iovec *iov, int iovcnt) argument
1109 tcdrain(int fildes) argument
1129 writev(int fildes, const struct iovec *iov, int iovcnt) argument
[all...]

Completed in 60 milliseconds