Searched refs:fdopen (Results 1 - 25 of 193) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libast/common/stdio/
H A D_stdopen.c24 /* OBSOLETE 20010101 -- use fdopen */
31 return fdopen(fd, mode);
H A Dfdopen.c27 fdopen(int fd, const char* mode) function
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfdopen.c40 #pragma weak _fdopen = fdopen
56 fdopen(int fd, const char *type) /* associate file desc. with stream */ function
H A Dtmpfile.c90 if ((p = fdopen(mkret, "w+")) == NULL) {
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Dopenchild.c99 *fto = fdopen(pdto[1], "w");
101 *ffrom = fdopen(pdfrom[0], "r");
/illumos-gate/usr/src/cmd/mailx/
H A Dpopen.c62 extern FILE *fdopen();
108 return(fdopen(myside, mode));
H A Dquit.c175 (obuf = fdopen(fd, "w")) == NULL) {
200 (obuf = fdopen(fd, "r+")) == NULL) {
209 (obuf = fdopen(fd, "a")) == NULL) {
302 PRIV(rbuf = fdopen(fd, "w+"));
/illumos-gate/usr/src/contrib/zlib/
H A Dzutil.h135 # include <unix.h> /* for fdopen */
137 # ifndef fdopen
138 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
165 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
170 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
176 # define fdopen(fd,type) _fdopen(fd,type) macro
/illumos-gate/usr/src/lib/libgen/common/
H A Dp2open.c58 fp[0] = fdopen(fds[0], "w");
59 fp[1] = fdopen(fds[1], "r");
/illumos-gate/usr/src/cmd/oamuser/group/
H A Ddel_group.c70 if ((t_fptr = fdopen(fd, "w")) == NULL) {
H A Dmod_group.c70 if ((t_fptr = fdopen(fd, "w")) == NULL) {
/illumos-gate/usr/src/cmd/rpcbind/
H A Dwarmstart.c76 fp = fdopen(fd, "w");
132 fp = fdopen(fd, "r");
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmconnect.c214 f = fdopen(s, "w");
229 f = fdopen(s, "r");
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dfileno.c119 f = fdopen(fd, "r+");
121 err(EXIT_FAILURE, "failed to fdopen /dev/null");
123 check_file(f, fd, "fdopen");
128 f = fdopen(dupfd, "r+");
130 err(EXIT_FAILURE, "failed to fdopen dup2'd /dev/null");
132 check_file(f, dupfd, "fdopen of dup2'd file");
/illumos-gate/usr/src/lib/libmail/common/
H A Dpopenvp.c97 return (fdopen(myside, mode));
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.fingerd.c131 if ((fp = fdopen(p[0], "r")) == NULL)
132 fatal(argv[0], "fdopen");
/illumos-gate/usr/src/cmd/dumpadm/
H A Dminfree.c50 return (fdopen(fd, fmode));
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_ef.c58 efp = fdopen(efd, "r");
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmypopen.c84 return (fdopen(myside, mode));
/illumos-gate/usr/src/cmd/print/conv_fix/
H A Dconv_fix.c132 if ((fp2 = fdopen(fd, "a")) != NULL) {
/illumos-gate/usr/src/cmd/dispadmin/
H A Ddispadmin.c314 if ((fp = fdopen(fd, "r")) == NULL)
338 if ((fp = fdopen(fd, "w")) == NULL)
386 if ((fp = fdopen(fd, "r")) == NULL)
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmlog.c77 Logfp = fdopen(ret, "a+");
174 FILE *f = fdopen(fd, "w");
253 if ((Debugfp = fdopen(ret, "a+")) == NULL)
254 fatal("fdopen failed: %s", strerror(errno));
/illumos-gate/usr/src/cmd/keyserv/
H A Dupdate.c191 *fto = fdopen(pdto[1], "w");
193 *ffrom = fdopen(pdfrom[0], "r");
275 wf = fdopen(wfd, "w");
277 (void) fprintf(stderr, "%s: cannot fdopen '%s'.\n",
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c75 if (!(pdesc->dfp = fdopen(fd_d, mode))) {
79 if (!(pdesc->ifp = fdopen(fd_i, mode))) {
84 if (pdesc->wfp = fdopen(fd_w, mode)) {
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dproj.c68 if ((t_fptr = fdopen(fd, "w+")) == NULL) {

Completed in 104 milliseconds

12345678