Searched refs:fd (Results 651 - 675 of 835) sorted by relevance

<<21222324252627282930>>

/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c624 int fd = -1; local
638 if ((fd = open(ap_id, O_RDONLY)) == -1) {
661 if (ioctl(fd, DEVCTL_AP_CONTROL, &ioctl_data) != 0) {
691 if (ioctl(fd, DEVCTL_AP_CONTROL, &ioctl_data) != 0) {
698 (void) close(fd);
704 if (fd != -1) {
705 (void) close(fd);
/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dvmdebug.c62 { int fd; local
63 if((fd = vmtrace(-1)) >= 0)
64 vmtrace(fd);
69 int vmdebug(int fd) argument
71 int vmdebug(fd)
72 int fd;
76 Dbfd = fd;
/osnet-11/usr/src/lib/libc/port/i18n/
H A Dgettext_real.c1069 int fd; local
1108 fd = nls_safe_open(mp->msgfile, &statbuf, &mp->trusted, !mp->nlsp);
1109 if ((fd == -1) || (statbuf.st_size > LONG_MAX)) {
1110 if (fd != -1)
1111 (void) close(fd);
1117 mp->addr = mmap(NULL, mp->fsz, PROT_READ, MAP_SHARED, fd, 0);
1118 (void) close(fd);
/osnet-11/usr/src/lib/libpp/common/
H A Dppfsm.c904 read(pp.in->fd, pp.in->nextchr, PPBUFSIZ);
916 close(pp.in->fd);
917 pp.in->fd = -1;
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c235 strioctl(fd, cmd, ptr, ilen, olen)
236 int fd, cmd, ilen, olen;
245 if (ioctl(fd, I_STR, &str) == -1)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/ByteLoader/
H A Dbytecode.h228 int fd = PerlIO_fileno(fp); \
229 fcntl(fd,F_SETFD,fd >= 3); \
/osnet-11/usr/src/lib/libprtdiag/common/
H A Dio.c436 int fd = -1; local
459 fd = open(device, O_RDWR, 0666);
465 if (fd == -1)
468 if (ioctl(fd, FFB_SYS_INFO, &fsi) < 0)
/osnet-11/usr/src/lib/libsctp/common/
H A Dsctp.c242 * returns new fd.
247 int fd; local
249 fd = id;
250 if (ioctl(sock, SIOCSCTPPEELOFF, &fd) == -1) {
253 return (fd);
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dmain.c118 int fd; local
120 if (!file || !*file || (fd = path_open(shp,file, PATHCOMP)) < 0)
129 exfile(shp, iop, fd);
474 tcsetpgrp(job.fd,shp->gd->pid);
/osnet-11/usr/src/lib/libnsl/netdir/
H A Dnetdir.c399 netdir_options(struct netconfig *tp, int option, int fd, char *par) argument
413 return (__inet_netdir_options(tp, option, fd, par));
421 return ((*(t->opt))(tp, option, fd, par));
430 return ((*(t->opt))(tp, option, fd, par));
/osnet-11/usr/src/lib/libnsl/nis/gen/
H A Dnis_subr.c783 __nis_clnt_create(int fd, struct netconfig *nc, char *uaddr, argument
822 clnt = clnt_tli_create(fd, nc, addr, prog, ver, outbuf, inbuf);
825 if (clnt_control(clnt, CLGET_FD, (char *)&fd))
827 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
/osnet-11/usr/src/lib/libnsl/nss/
H A Dnetdir_inet.c298 * HOST_BROADCAST then we ask a tli fd to tell us what
2499 int fd; local
2512 if ((fd = open(devpath, O_RDONLY)) < 0) {
2515 while ((retv = ioctl(fd, cmd, arg)) == -1) {
2519 (void) close(fd);
2901 int fd; local
2907 fd = open(tp->nc_device, O_RDONLY);
2908 if (fd < 0) {
2913 if (ioctl(fd, SIOCGIFNUM, (char *)&numifs) < 0)
2918 (void) close(fd);
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dunix_io.c54 #include <linux/fd.h>
/osnet-11/usr/src/lib/libpam/
H A Dpam_impl.h196 /* list of open fd's (modules that were dlopen'd) */
223 fd_list *fd; /* module fd's */ member in struct:pam_handle
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_pca.c551 int fd; local
559 fd = mkstemp(unique_name);
560 if (fd == -1) {
565 (void) close(fd);
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dcmd.c71 * a file desciptor (fd), the fd reaches a threshold and will lock and wait
312 pollfds[0].fd = filedes;
/osnet-11/usr/src/lib/efcode/fcdriver/
H A Dmisc.c463 FILE *fd; local
467 if ((fd = popen(buf, "r")) == NULL)
469 fgets(buf, sizeof (buf), fd);
470 pclose(fd);
/osnet-11/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_log.c382 int fd; local
397 (fd = dup(lp->log_fd)) == -1)
400 if (ea_fdopen(&lp->log_ea, fd, FMD_CREATOR,
402 (void) close(fd);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_solaris.c1009 int err = 0, fd; local
1034 fd = open(*filenames, O_RDWR|O_CREAT|O_NOFOLLOW|O_NOLINKS, mode);
1035 if (fd < 0) {
1040 close(fd);
/osnet-11/usr/src/lib/krb5/kdb/
H A Dkdb_log.c47 static int extend_file_to(int fd, uint_t new_size);
552 * closing of the fd are implicitly performed by the caller.
914 static int extend_file_to(int fd, uint_t new_size) argument
919 current_offset = lseek(fd, 0, SEEK_END);
931 wrote_size = write(fd, zero, write_size);
/osnet-11/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c534 * with fd file descriptor.
537 set_fdfl(int fd, int fl, boolean_t set_fl) argument
547 if ((flags = fcntl(fd, F_GETFL, 0)) < 0) {
567 if (fcntl(fd, F_SETFL, flags) == -1) {
573 DPRINT((dfile, "fd: %d - flag: 0%o was %s\n", fd, fl,
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.h101 int fd; member in struct:__anon906
/osnet-11/usr/src/cmd/sendmail/src/
H A Dconf.c2908 int fd; local
2910 fd = open("/dev/tty", O_RDWR, 0);
2911 if (fd >= 0)
2913 (void) ioctl(fd, TIOCNOTTY, (char *) 0);
2914 (void) close(fd);
2931 fsync(fd)
2932 int fd;
2935 return fcntl(fd, F_SETFL, O_SYNC);
3515 ** fd -- the file descriptor of the file.
3529 lockfile(fd, filenam
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dnostdio.h112 #define fdopen(fd,p) _CANNOT _fdopen_
/osnet-11/usr/src/cmd/sendmail/include/libsmdb/
H A Dsmdb.h86 ** fd -- A pointer to store the returned fd in.
93 typedef int (*db_fd_func) __P((SMDB_DATABASE *db, int* fd));

Completed in 66 milliseconds

<<21222324252627282930>>