Searched refs:fd (Results 376 - 400 of 835) sorted by relevance

<<11121314151617181920>>

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Diperlsys.h677 #define PerlLIO_chsize(fd, size) \
678 (*PL_LIO->pChsize)(PL_LIO, (fd), (size))
679 #define PerlLIO_close(fd) \
680 (*PL_LIO->pClose)(PL_LIO, (fd))
681 #define PerlLIO_dup(fd) \
682 (*PL_LIO->pDup)(PL_LIO, (fd))
685 #define PerlLIO_flock(fd, op) \
686 (*PL_LIO->pFlock)(PL_LIO, (fd), (op))
687 #define PerlLIO_fstat(fd, buf) \
688 (*PL_LIO->pFileStat)(PL_LIO, (fd), (bu
[all...]
H A Ddosish.h133 #define Fstat(fd,bufptr) fstat((fd),(bufptr))
/osnet-11/usr/src/lib/libbsm/common/
H A Daudit_cron.c90 int fd; local
98 if ((fd = open(fname_aux, O_RDONLY)) == -1) {
102 if (fstat(fd, &st) == -1) {
107 if (read(fd, textbuf, st.st_size) != st.st_size) {
133 (void) close(fd);
137 (void) close(fd);
184 int fd, len, r; local
191 if ((fd = open(fname, O_CREAT|O_WRONLY|O_TRUNC, 0200)) == -1)
213 if (write(fd, textbuf, len) != len)
216 if (fchmod(fd, 040
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetutx.c118 static int fd = -1; /* File descriptor for the utmpx file. */ variable
121 static int tempfd = -1; /* To store fd between lockutx() and unlockutx() */
191 if (fd < 0) {
193 if ((fd = open(utmpxfile, O_RDWR|O_CREAT, 0644)) < 0) {
201 if ((fd = open(utmpxfile, O_RDONLY)) < 0)
205 (void) close(fd);
206 fd = -1;
215 (void) close(fd);
216 fd = -1;
629 if (fd <
[all...]
H A Dfattach.c61 namefdp.fd = fildes;
/osnet-11/usr/src/lib/libsqlite/src/
H A Dos.c255 int *aPending; /* Malloced space holding fd's awaiting a close() */
296 int fd, /* The file descriptor used in the key */
306 rc = fstat(fd, &statbuf);
468 id->fd = open(zFilename, O_RDWR|O_CREAT|O_LARGEFILE|O_BINARY, 0644);
469 if( id->fd<0 ){
475 id->fd = open(zFilename, O_RDONLY|O_LARGEFILE|O_BINARY);
476 if( id->fd<0 ){
484 rc = findLockInfo(id->fd, &id->pLock, &id->pOpen);
487 close(id->fd);
491 TRACE3("OPEN %-3d %s\n", id->fd, zFilenam
295 findLockInfo( int fd, struct lockInfo **ppLock, struct openCnt **ppOpen ) argument
[all...]
/osnet-11/usr/src/lib/libsec/common/
H A Daclutils.c49 int fd; member in union:__anon2487
101 int fd; local
115 fd = inp.fd;
116 ace_acl = fpathconf(fd, _PC_ACL_ENABLED);
143 acl_info->acl_cnt = facl(fd, cntcmd, 0, NULL);
174 stat_error = fstat64(fd, &statbuf);
175 error = facl(fd, getcmd, acl_info->acl_cnt,
233 facl_get(int fd, int get_flag, acl_t **aclp) argument
237 acl_inp.fd
309 facl_set(int fd, acl_t *aclp) argument
[all...]
/osnet-11/usr/src/lib/libshell/common/include/
H A Dedit.h212 # define read(fd,buff,n) syscall(3,fd,buff,n)
214 # define read(fd,buff,n) rEAd(fd,buff,n)
/osnet-11/usr/src/lib/libsmedia/library/common/
H A Dl_generic.c45 extern smedia_handle_t get_handle(int fd);
47 extern smedia_handle_t get_handle_from_fd(int32_t fd);
205 smedia_get_handle(int32_t fd) argument
207 return (get_handle_from_fd(fd));
/osnet-11/usr/src/lib/libnsl/nsl/
H A Dt_bind.c49 int fd,
65 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL)
133 if (_t_do_ioctl(fd, ctlbuf.buf, size, TI_BIND, &retlen) < 0) {
163 (void) _tx_unbind_locked(fd, tiptr, &ctlbuf);
48 _tx_bind( int fd, const struct t_bind *req, struct t_bind *ret, int api_semantics ) argument
H A Dt_rcvdis.c48 _tx_rcvdis(int fd, struct t_discon *discon, int api_semantics) argument
60 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL)
115 if ((retval = _t_look_locked(fd, tiptr, 0,
163 retval = getmsg(fd, &ctlbuf, &databuf, &flg);
H A Dt_rcvrel.c52 _tx_rcvrel(int fd, int api_semantics) argument
64 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0)
87 if ((retval = _t_look_locked(fd, tiptr, 0, api_semantics)) < 0) {
158 retval = getmsg(fd, &ctlbuf, &databuf, &flg);
H A Dt_rcvreldata.c51 _tx_rcvreldata(int fd, struct t_discon *discon, int api_semantics) argument
65 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0)
82 if ((retval = _t_look_locked(fd, tiptr, 0, api_semantics)) < 0) {
160 retval = getmsg(fd, &ctlbuf, &databuf, &flg);
H A Dt_rcvuderr.c48 _tx_rcvuderr(int fd, struct t_uderr *uderr, int api_semantics) argument
60 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL)
88 if ((retval = _t_look_locked(fd, tiptr, 0,
123 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) {
/osnet-11/usr/src/lib/libfstyp/common/
H A Dlibfstyp.h68 int fstyp_init(int fd, off64_t offset, char *module_dir,
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dcm.h58 SOCKET fd; member in struct:conn_state
H A Dport-sockets.h28 #define SOCKET_READ(fd, b, l) (recv(fd, b, l, 0))
29 #define SOCKET_WRITE(fd, b, l) (send(fd, b, l, 0))
147 #define SOCKET_NFDS(f) ((f)+1) /* select() arg for a single fd */
/osnet-11/usr/src/lib/libunistat/common/
H A Dspcs_s_u.c189 spcs_s_report(spcs_s_info_t ustatus, FILE *fd) argument
200 fprintf(fd, "%s\n", sp);
212 fprintf(fd, "%s\n", se);
217 fprintf(fd, "%s: %s\n",
/osnet-11/usr/src/lib/libwanboot/common/
H A Dsocket_inet.c53 pfd.fd = fildes;
/osnet-11/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb1.c202 smdb1_fd(database, fd)
204 int *fd;
208 *fd = db->fd(db);
209 if (*fd == -1)
281 int fd; local
285 fd = db->fd(db);
286 if (fd == -1)
289 result = fchown(fd, ui
[all...]
H A Dsmndbm.c141 smdbm_fd(database, fd)
143 int *fd;
147 *fd = dbm_dirfno(dbm);
148 if (*fd <= 0)
248 int fd; local
252 fd = dbm_dirfno(dbm);
253 if (fd <= 0)
256 result = fchown(fd, uid, gid);
260 fd = dbm_pagfno(dbm);
261 if (fd <
[all...]
/osnet-11/usr/src/lib/libldap5/include/ldap/
H A Dportable.h238 #define GETATTR( fd, tiop ) ioctl((fd), TIOCGETP, (caddr_t)(tiop))
239 #define SETATTR( fd, tiop ) ioctl((fd), TIOCSETP, (caddr_t)(tiop))
246 #define GETATTR( fd, tiop ) tcgetattr((fd), (tiop))
247 #define SETATTR( fd, tiop ) tcsetattr((fd), TCSANOW /* 0 */, (tiop))
/osnet-11/usr/src/lib/libcmd/common/
H A Dmktemp.c71 int fd; local
75 int* fdp = &fd;
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dtxn.h127 (void)__db_mutex_lock(&(tmgrp)->region->hdr.lock, (tmgrp)->reginfo.fd)
129 (void)__db_mutex_unlock(&(tmgrp)->region->hdr.lock, (tmgrp)->reginfo.fd)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/t/
H A Dvia.t43 # Find fd number we should be using
44 my $fd = open($fh,">$tmp") && fileno($fh);
53 is($fd2,$fd,"Wrong fd number after failed open");

Completed in 59 milliseconds

<<11121314151617181920>>