Searched refs:fd (Results 751 - 775 of 835) sorted by relevance

<<31323334

/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c1120 int fd; local
1137 if ((fd = open(devlink_path, O_RDONLY|O_NDELAY)) >= 0) {
1144 if (devid_get(fd, &devid) == 0) {
1185 (void) close(fd);
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_open.c701 int fd; local
727 if ((fd = open(path, O_RDONLY)) == -1)
733 (void) close(fd);
742 dfp->df_fds[dfp->df_ents++] = fd;
/osnet-11/usr/src/lib/libdtrace_jni/common/
H A Ddtrace_jni.c376 int fd = open("/proc/self/auxv", O_RDONLY); local
378 if (fd >= 0) {
379 while (read(fd, &auxb, sizeof (auxv_t)) == sizeof (auxv_t)) {
385 (void) close(fd);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dchangepw.c131 if (getsockname(conn->fd, ss2sa(&local_addr), &addrlen) < 0) {
/osnet-11/usr/src/grub/grub2/util/
H A Dgetroot.c689 int fd = open (os_dev, O_RDONLY); local
690 if (fd < 0)
693 int n = read (fd, buf, sizeof (buf));
694 close (fd);
/osnet-11/usr/src/lib/efcode/engine/
H A Ddebug.c925 FILE *fd; local
929 if ((fd = popen(buf, "r")) == NULL)
932 while (fgets(buf, sizeof (buf), fd))
934 (void) pclose(fd);
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_am.c53 dbp->fd = __db_fd;
/osnet-11/usr/src/cmd/sendmail/db/xa/
H A Dxa_db.c102 dbp->fd = __xa_fd;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DUNIVERSAL.pm24 $is_io = $fd->isa("IO::Handle");
/osnet-11/usr/src/lib/libast/common/misc/
H A Dfastfind.c175 int fd; local
318 if (!pathtemp(fp->encode.temp, sizeof(fp->encode.temp), p, "ff", &fd))
326 if (!(fp->fp = sfnew(NiL, NiL, (size_t)SF_UNBOUND, fd, SF_WRITE)))
330 close(fd);
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri.c328 int fd, use_mkdirp, mkret; local
368 if ((fd = open64(suri_file->sf_prop_path, SURI_DEF_OPEN_FLAGS,
380 if (ftruncate64(fd, (off64_t)size) != 0) {
391 (void) close(fd);
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_devadm.c996 int fd = -1; local
1270 if ((fd = open(fp, O_RDONLY|O_NDELAY)) < 0) {
1278 rc = devid_get(fd, &devid1);
1279 if (close(fd) < 0) {
H A Dmeta_raid.c2061 int fd; local
2067 if ((fd = open(colnp->rname, O_RDONLY)) < 0)
2070 if (lseek64(fd,
2074 if (read(fd, buf, DEV_BSIZE) < 0)
2117 (void) close(fd);
2123 (void) close(fd);
/osnet-11/usr/src/lib/nametoaddr/straddr/common/
H A Dstraddr.c376 _netdir_options(struct netconfig *netconfigp, int option, int fd, void *par) argument
/osnet-11/usr/src/lib/sun_sas/common/
H A Dsun_sas.h127 int fd; /* when open, the FD */ member in struct:sun_sas_hba
H A Ddevtree_device_disco.c45 int fd; local
60 if ((fd = open(fullpath, O_RDONLY)) == -1) {
70 (void) close(fd);
/osnet-11/usr/src/lib/libcmd/common/
H A Dstty.c36 "[f|F:fd|file?Use \afd\a as the terminal fd.]#[fd:=0]"
904 int fd = 0; local
918 fd = (int)opt_info.num;
955 if (tcgetattr(fd, &tty) < 0)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/
H A DCmd.pm255 my $fd = fileno($cmd);
258 unless defined $fd;
261 vec($rin,$fd,1) = 1;
/osnet-11/usr/src/lib/libpp/common/
H A Dppop.c108 int fd; local
147 if ((fd = ppsearch(file, INC_LOCAL, SEARCH_INCLUDE)) < 0)
149 PUSH_FILE(file, fd);
231 * return non-0 if file is identical to fd
235 identical(char* file, int fd) argument
240 return !stat(file, &a) && !fstat(fd, &b) && a.st_dev == b.st_dev && a.st_ino == b.st_ino;
/osnet-11/usr/src/cmd/sendmail/src/
H A Ddaemon.c586 sm_dprintf("getrequests: forking (fd = %d)\n", t);
820 syserr("cannot open SMTP server channel, fd=%d",
2590 sm_dprintf("makeconnection: fd=%d\n", s);
2809 syserr("cannot open SMTP client channel, fd=%d", s);
2992 syserr("cannot open SMTP client channel, fd=%d", sock);
3360 ** fd -- the descriptor
3386 getauthinfo(fd, may_be_forged)
3387 int fd;
3417 if (isatty(fd) || (i = getpeername(fd,
[all...]
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_xml.c2169 int fd, const char *filenm, const char *escheme)
2215 if ((document = xmlReadFd(fd, filenm, NULL, readflags)) == NULL) {
2395 int fd; local
2398 if ((fd = open(path, O_RDONLY)) < 0) {
2406 if ((tip = txml_file_parse(tmp, fd, path, escheme)) == NULL) {
2410 (void) close(fd);
2168 txml_file_parse(topo_mod_t *tmp, int fd, const char *filenm, const char *escheme) argument
/osnet-11/usr/src/lib/libshell/common/edit/
H A Demacs.c178 int ed_emacsread(void *context, int fd,char *buff,int scend, int reedit) argument
203 return(reedit?reedit:ed_read(context, fd,buff,scend,0));
208 ed_setup(ep->ed,fd,reedit);
/osnet-11/usr/src/lib/libbsm/common/
H A Dadt.c591 adt_load_termid(int fd, adt_termid_t **termid) argument
601 if (getpeername(fd, (struct sockaddr *)&peer, (socklen_t *)&peerlen)
614 if (getsockname(fd, (struct sockaddr *)&sock,
/osnet-11/usr/src/lib/libzonestat/common/
H A Dlibzonestat.c94 int fd; local
96 fd = open(ZS_DOOR_PATH, O_RDONLY);
97 return (fd);
2562 int fd = -1; local
2574 fd = ctl->zsctl_door;
2584 if (door_call(fd, &params) != 0) {
2723 int fd; local
2732 fd = zs_connect_zonestatd();
2733 if (fd < 0) {
2747 if (door_call(fd,
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dlcl_sv.c272 if (fcntl((*pvt->dbh->fd)(pvt->dbh), F_SETFD, 1) < 0) {

Completed in 146 milliseconds

<<31323334