| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/common/ |
| close.c | 32 close(int fd) 34 return (bc_close(fd)); 38 bc_close(int fd) 40 fd_rem(fd); 41 return (_syscall(SYS_close, fd));
|
| dup.c | 32 dup(int fd) 36 if ((ret = _syscall(SYS_dup, fd)) == -1) 39 if ((fds = fd_get(fd)) != -1)
|
| fsync.c | 34 fsync(int fd) 36 return (_syscall(SYS_fdsync, fd, FSYNC));
|
| /onnv/onnv-gate/usr/src/lib/libast/common/stdio/ |
| _stdopen.c | 29 _stdopen(int fd, const char* mode) 31 return fdopen(fd, mode);
|
| fdopen.c | 27 fdopen(int fd, const char* mode) 31 if (fd < 0 || !(flags = _sftype(mode, NiL, NiL))) 33 return sfnew(NiL, NiL, (size_t)SF_UNBOUND, fd, flags);
|
| /onnv/onnv-gate/usr/src/cmd/bnu/ |
| dkbreak.c | 41 dkbreak(fd) 45 ioctl(fd, DIOCXCTL, sendbreak); 47 write(fd, nothing, 0);
|
| dkminor.c | 42 dkminor(fd) 47 if (ioctl(fd, DIOCINFO, &iocb) < 0)
|
| /onnv/onnv-gate/usr/src/cmd/sendmail/db/os/ |
| os_fsync.c | 27 __mpe_fsync(fd) 28 int fd; 32 FCONTROL(_MPE_FILENO(fd), 2, NULL); /* Flush the buffers */ 33 FCONTROL(_MPE_FILENO(fd), 6, NULL); /* Write the EOF */ 39 #define fsync(fd) __mpe_fsync(fd); 42 #define fsync(fd) _commit(fd); 52 __os_fsync(fd) 53 int fd; [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/lib/msgs/ |
| fifo_buffs.c | 53 ResetFifoBuffer(int fd) 58 if (fd >= FifoBufferTableSize) 61 if (FifoBufferTable [fd]) { 62 FifoBufferTable [fd]->full = 0; 63 FifoBufferTable [fd]->psave = 64 FifoBufferTable [fd]->psave_end = 65 FifoBufferTable [fd]->save; 72 GetFifoBuffer(int fd) 74 if (fd < 0) { 78 if ((fd >= FifoBufferTableSize) && (GrowFifoBufferTable (fd) < 0) [all...] |
| /onnv/onnv-gate/usr/src/lib/libnsl/nsl/ |
| tli_wrappers.c | 44 t_accept(int fd, int resfd, struct t_call *call) 46 return (_tx_accept(fd, resfd, call, TX_TLI_API)); 50 t_alloc(int fd, int struct_type, int fields) 52 return (_tx_alloc(fd, struct_type, fields, TX_TLI_API)); 56 t_bind(int fd, struct t_bind *req, struct t_bind *ret) 58 return (_tx_bind(fd, req, ret, TX_TLI_API)); 62 t_close(int fd) 64 return (_tx_close(fd, TX_TLI_API)); 68 t_connect(int fd, struct t_call *sndcall, struct t_call *rcvcall) 70 return (_tx_connect(fd, sndcall, rcvcall, TX_TLI_API)) [all...] |
| xti_wrappers.c | 58 _xti_accept(int fd, int resfd, const struct t_call *call) 60 return (_tx_accept(fd, resfd, call, TX_XTI_API)); 64 _xti_xns5_accept(int fd, int resfd, const struct t_call *call) 66 return (_tx_accept(fd, resfd, call, TX_XTI_XNS5_API)); 70 _xti_alloc(int fd, int struct_type, int fields) 72 return (_tx_alloc(fd, struct_type, fields, TX_XTI_API)); 76 _xti_bind(int fd, const struct t_bind *req, struct t_bind *ret) 78 return (_tx_bind(fd, req, ret, TX_XTI_API)); 82 _xti_close(int fd) 84 return (_tx_close(fd, TX_XTI_API)) [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/sys5/ |
| nlist.c | 39 int fd; local 41 fd = open(name, O_RDONLY, 0); 42 (void) _nlist(fd, list); 43 close(fd);
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/compat/common/ |
| gtty.c | 36 gtty(int fd, struct sgttyb *ap) 39 return (ioctl(fd, TIOCGETP, ap));
|
| stty.c | 36 stty(int fd, struct sgttyb *ap) 39 return(ioctl(fd, TIOCSETP, ap));
|
| /onnv/onnv-gate/usr/src/lib/libcurses/screen/ |
| tinputfd.c | 50 tinputfd(int fd) 52 cur_term->_inputfd = fd;
|
| /onnv/onnv-gate/usr/src/cmd/sendmail/include/sm/ |
| fdset.h | 18 ** Note: SM_FD_OK_SELECT(fd) requires that ValidSocket(fd) has been checked 22 # define SM_FD_SET(fd, pfdset) FD_SET(fd, pfdset) 23 # define SM_FD_ISSET(fd, pfdset) FD_ISSET(fd, pfdset) 25 # define SM_FD_OK_SELECT(fd) (FD_SETSIZE <= 0 || (fd) < FD_SETSIZE)
|
| /onnv/onnv-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
| 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);
|
| /onnv/onnv-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
| 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);
|
| /onnv/onnv-gate/usr/src/cmd/lp/filter/postscript/filtdesc/ |
| Makefile | 33 ROOTETCLPFD= $(ROOTETCLP)/fd 35 FILES= catv.fd \ 36 download.fd \ 37 dpost.fd \ 38 postdaisy.fd \ 39 postdmd.fd \ 40 postio.fd \ 41 postior.fd \ 42 postmd.fd \ 43 postplot.fd \ [all...] |
| /onnv/onnv-gate/usr/src/lib/libresolv2/common/bsd/ |
| 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);
|
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| 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_FILENO) < 0)) [all...] |
| /onnv/onnv-gate/usr/src/cmd/vt/ |
| vtinfo.c | 43 int fd; local 45 if ((fd = open("/dev/vt/0", O_RDONLY)) < 0) 48 if (ioctl(fd, VT_ENABLED, &result) != 0) { 49 (void) close(fd); 53 (void) close(fd);
|
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
| unlck_file.c | 34 krb5_unlock_file(krb5_context context, int fd) 36 return krb5_lock_file(context, fd, KRB5_LOCKMODE_UNLOCK);
|
| /onnv/onnv-gate/usr/src/cmd/lp/lib/printers/ |
| default.c | 56 int fd; local 61 if ((fd = open_locked(Lp_Default, "w", MODE_READ)) < 0) 64 fdprintf(fd, "%s\n", dflt); 66 close(fd);
|
| /onnv/onnv-gate/usr/src/cmd/sgs/0@0/common/ |
| 0@0.c | 46 int fd; local 48 if ((fd = open("/dev/zero", O_RDWR)) < 0) 50 (void) mmap(0, 1, PROT_READ, MAP_PRIVATE|MAP_FIXED, fd, 0); 51 (void) close(fd);
|