/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | sleep.c | 178 struct pollfd fd; local 189 poll(&fd,0,n);
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-public.c | 255 * Given an integer fd and a void * argument such as those passed to the 264 prldap_set_socket_info( int fd, void *socketarg, PRLDAPSocketInfo *soip ) argument 284 * Given an integer fd and a void * argument such as those passed to the 291 prldap_get_socket_info( int fd, void *socketarg, PRLDAPSocketInfo *soip ) argument
|
/osnet-11/usr/src/lib/libpctx/common/ |
H A D | libpctx.c | 407 int fd, nlwp; local 424 if ((fd = open(lstatus, O_RDONLY)) < 0 || 425 fstat(fd, &statb) != 0) { 426 if (fd >= 0) 427 (void) close(fd); 432 if (read(fd, prh, statb.st_size) < 434 (void) close(fd); 438 (void) close(fd);
|
/osnet-11/usr/src/lib/libcmdutils/common/ |
H A D | process_xattrs.c | 272 sysattr_list(char *cmd, int fd, char *fname) argument 281 if (fgetattr(fd, XATTR_VIEW_READWRITE, &response) != 0) {
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/dtrace/ |
H A D | kerberos_dtrace.c | 1113 k5_kconninfo_build(const int fd) { argument 1123 if (getsockname(fd, (struct sockaddr *)&s, &len) == 0) { 1149 if (getpeername(fd, (struct sockaddr *)&s, &len) == 0) { 1168 if (getsockopt(fd, SOL_SOCKET, SO_TYPE, &t, &len) == 0) { 1213 void k5_trace_message_send(const int fd, char *data, argument 1215 KERBEROS_PROBE_KRB_MESSAGE(SEND, fd, data, length); 1218 void k5_trace_message_recv(const int fd, char *data, argument 1220 KERBEROS_PROBE_KRB_MESSAGE(RECV, fd, data, length);
|
H A D | kerberos_dtrace.h | 194 #define KERBEROS_PROBE_KRB_MESSAGE(type, fd, data, length) \ 203 ktrace.arg = k5_kconninfo_build((fd)); \
|
/osnet-11/usr/src/cmd/sendmail/libmilter/ |
H A D | libmilter.h | 182 (rds).fd = (sd); \ 187 (wrs).fd = (sd); \
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/ |
H A D | Handle.pm | 345 my ($io, $fd, $mode) = @_; 348 if (ref($fd) && "".$fd =~ /GLOB\(/o) { 351 *GLOB = *{*$fd}; 352 $fd = $n; 353 } elsif ($fd =~ m#^\d+$#) { 355 $fd = "=$fd"; 358 open($io, _open_mode_string($mode) . '&' . $fd)
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | fakesdio.h | 101 #define fdopen(fd,p) PerlIO_fdopen(fd,p)
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfpoll.c | 115 fds[m].fd = f->file; 125 fds[m].fd = f->proc->file;
|
/osnet-11/usr/src/lib/libc/inc/ |
H A D | libc.h | 286 extern int _insert(pid_t pid, int fd); 287 extern pid_t _delete(int fd);
|
/osnet-11/usr/src/lib/libast/common/vmalloc/ |
H A D | vmbest.c | 1233 int fd; member in struct:_mmapdisc_s 1388 if(mmdc->fd < 0) 1389 { int fd; local 1390 if(mmdc->fd != -1) 1392 if((fd = open("/dev/zero", O_RDONLY)) < 0 ) 1393 { mmdc->fd = -2; 1396 if(fd >= OPEN_PRIVATE || (mmdc->fd = dup2(fd,OPEN_PRIVATE)) < 0 ) 1397 mmdc->fd [all...] |
/osnet-11/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 181 int fd, i; local 190 if ((fd = open64(path, O_RDONLY)) >= 0) { 199 if ((n = read(fd, &g32, sizeof (g32))) > 0) 204 n = read(fd, &gwin, sizeof (gwin)); 225 (void) close(fd);
|
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | logging.c | 86 int fd, flags; local 140 fd = open(chan->out.file.name, flags, 142 if (fd < 0) { 148 stream = fdopen(fd, "a"); 154 (void) fchown(fd, chan->out.file.owner, chan->out.file.group);
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | verify.c | 261 int fd; local 275 if ((fd = open(a_path, O_RDONLY)) < 0) { 282 if (fstat64(fd, &sbuf) != 0) { 298 while ((nread = read(fd, (void*)buf, 320 (void) close(fd);
|
/osnet-11/usr/src/lib/libdhcpsvc/modules/files0/ |
H A D | dhcp_network.c | 67 int fd; local 83 retval = open_file(dnpath, flags, &fd); 88 (void) close(fd); 622 * Write the dn_rec_t `recp' into the open container `fd' at offset 626 write_rec(int fd, dn_rec_t *recp, off_t recoff) argument 664 if (pnwrite(fd, ent, entlen, recoff) == -1)
|
/osnet-11/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom.c | 637 int fd, rc, err; local 643 if ((fd = open("/dev/bl", O_RDONLY)) < 0) 650 (void) close(fd); 656 rc = ioctl(fd, cmd, &blr); 660 (void) close(fd);
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/ |
H A D | chip.c | 726 int fd = open("/dev/xen/domcaps", O_RDONLY); local 728 if (fd != -1) { 729 if (read(fd, buf, sizeof (buf)) <= 0 || 731 (void) close(fd); 734 (void) close(fd);
|
/osnet-11/usr/src/lib/abi/apptrace/common/ |
H A D | apptrace.c | 237 int fd, newfd, targetfd, lowerlimit; local 248 fd = open(str, O_WRONLY|O_CREAT|O_TRUNC, 0666); 249 if (fd == -1) { 262 * we'd have closed the fd it uses for the history 267 * fd. 269 * Not finding an fd after 10 tries is a failure. 272 * unsigned char, we must clamp our fd request to 280 if ((newfd = fcntl(fd, F_DUPFD, targetfd)) != -1) 291 (void) close(fd);
|
/osnet-11/usr/src/lib/libc/port/aio/ |
H A D | posix_aio.c | 432 * checks because it is not mandatory to have a valid fd 648 * mandatory to have a valid fd set in the 867 aio_cancel(int fd, aiocb_t *aiocbp) argument 875 if (fstat(fd, &buf) < 0) 879 if (fd != aiocbp->aio_fildes) { 903 return ((int)_kaio(AIOCANCEL, fd, aiocbp)); 906 return (aiocancel_all(fd)); 1545 * mandatory to have a valid fd set in the 1743 aio_cancel64(int fd, aiocb64_t *aiocbp) argument 1751 if (fstat64(fd, [all...] |
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 745 int fd; local 785 fd = open(okname, O_CREAT | O_RDWR | O_TRUNC, 0600); 786 if (fd < 0) { 793 close(fd); 815 int nb, fd; local 825 if ((fd = open(filename, O_RDWR, 0)) < 0) { 829 set_cloexec_fd(fd); 833 if (fstat(fd, &statb) == -1) { 850 nb = read(fd, buf, BUFSIZ); 865 lseek(fd, po [all...] |
/osnet-11/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 157 int fd; local 159 while ((fd = open(path, oflag)) == -1 && errno == EAGAIN) 162 return (fd); 169 int fd; local 185 if ((fd = blocking_open("/devices/pseudo/devinfo@0:devinfo", 191 if (ioctl(fd, DINFOLODRV, driver) != 0) { 193 (void) close(fd); 197 (void) close(fd); 210 int fd, map_size; local 259 if ((fd 3062 int fd; /* /dev/openprom file descriptor */ member in struct:di_prom_handle [all...] |
/osnet-11/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_conf.c | 79 static config_key get_file_attr_val(int fd, char **attr_val); 374 int fd; local 378 if ((fd = open(config_file, O_RDONLY)) == -1) { 391 while ((attrib_num = get_file_attr_val(fd, &attr_val)) > 0) { 426 (void) close(fd); 447 get_file_attr_val(int fd, char **attr_val) argument 463 if ((ret = read_line(fd, buf, sizeof (buf))) > 0) {
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdladm.c | 167 int fd; local 170 if ((fd = open(DLMGMT_DOOR, O_RDONLY)) < 0) 172 handle->door_fd = fd; 671 i_dladm_unlock_db(const char *lock_file, int fd) argument 675 if (fd < 0) 683 (void) fcntl(fd, F_SETLKW, &lock); 684 (void) close(fd);
|
/osnet-11/usr/src/lib/libdscfg/common/ |
H A D | cfg_vols.c | 984 int fd = -1; local 1035 fd = open(SV_DEVICE, O_RDONLY); 1036 if (fd < 0) 1043 rc = ioctl(fd, sv_ioctl, &svc); 1071 (void) ioctl(fd, SVIOC_DISABLE, &svc); 1125 if (fd >= 0) 1126 (void) close(fd);
|