/osnet-11/usr/src/lib/libast/common/path/ |
H A D | pathtmp.c | 35 pathtmp(char* buf, const char* dir, const char* pfx, int* fdp) argument 40 return pathtemp(buf, len, dir, pfx, fdp);
|
H A D | pathtemp.c | 49 * if fdp!=0 then the path is opened O_EXCL and *fdp is the open fd 102 pathtemp(char* buf, size_t len, const char* dir, const char* pfx, int* fdp) argument 323 if (fdp) 327 *fdp = n;
|
/osnet-11/usr/src/cmd/sendmail/db/os/ |
H A D | os_open.c | 33 __db_open(name, arg_flags, ok_flags, mode, fdp) 36 int mode, *fdp; 93 if ((ret = __os_open(name, flags, mode, fdp)) != 0) 112 if (fcntl(*fdp, F_SETFD, 1) == -1) { 115 (void)__os_close(*fdp); 129 __os_open(name, flags, mode, fdp) 131 int flags, mode, *fdp; 133 *fdp = __db_jump.j_open != NULL ? 135 return (*fdp == -1 ? errno : 0);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | write_msg.c | 41 krb5int_write_messages(krb5_context context, krb5_pointer fdp, krb5_data *outbuf, int nbufs) argument 43 int fd = *( (int *) fdp); 74 krb5_write_message(krb5_context context, krb5_pointer fdp, krb5_data *outbuf) argument 76 return krb5int_write_messages(context, fdp, outbuf, 1);
|
H A D | read_msg.c | 35 krb5_read_message(krb5_context context, krb5_pointer fdp, krb5_data *inbuf) argument 40 int fd = *( (int *) fdp);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | mktemp.c | 75 int* fdp = &fd; local 87 fdp = 0; 108 fdp = 0; 128 mode = (fdp ? (S_IRUSR|S_IWUSR) : S_IRWXU) & ~mask; 146 if (!pathtemp(path, sizeof(path), dir, pfx, fdp)) 154 if (fdp || unsafe || !mkdir(path, mode)) 156 if (fdp) 157 close(*fdp);
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | mktemp.c | 44 temp(char* buf, int* fdp) argument 67 if (!pathtemp(buf, len, d, s, fdp))
|
/osnet-11/usr/src/lib/libgen/common/ |
H A D | p2open.c | 108 __p2close(int *fdp, FILE **fpp, int kill_sig) argument 115 if (fdp != NULL) { 116 fds[0] = fdp[0]; 117 fds[1] = fdp[1]; 136 if (fdp != NULL) {
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | shiocmd_solaris.c | 495 struct filedata *fdp; local 583 fdp = (struct filedata*)np->nvalue; 584 fstat(fd, &fdp->statb); 585 fdp->fd = fd; 586 fdp->name = strdup(argv[1]); 666 struct filedata *fdp; local 706 fdp = (struct filedata*)np->nvalue; 708 fstat(fd, &fdp->statb); 709 fdp->fd = fd; 710 fdp 742 struct filedata *fdp; local 817 struct filedata *fdp; local [all...] |
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_iod_cl.c | 91 smbfs_iod_open_door(int *fdp) argument 127 *fdp = fd;
|
/osnet-11/usr/src/lib/libipmp/common/ |
H A D | ipmp_mpathd.c | 49 * success, `fdp' points to the newly opened socket. 52 ipmp_connect(int *fdp) argument 105 *fdp = fd;
|
/osnet-11/usr/src/cmd/sendmail/db/db/ |
H A D | db_appinit.c | 328 __db_appname(dbenv, appname, dir, file, tmp_oflags, fdp, namep) 333 int *fdp; 350 if (fdp != NULL) 351 *fdp = -1; 511 (ret = __db_tmp_open(dbenv, tmp_oflags, start, fdp)) != 0) { 643 __db_tmp_open(dbenv, flags, path, fdp) 647 int *fdp; 699 if ((ret = __db_open(path, flags, flags, mode, fdp)) == 0)
|
H A D | db_am.c | 311 __db_fd(dbp, fdp) 313 int *fdp; 321 return (__mp_xxx_fd(dbp->mpf, fdp));
|
/osnet-11/usr/src/lib/libdhcpsvc/modules/util/ |
H A D | util.c | 54 * On success, DSVC_SUCCESS is returned and `fdp' points to the opened file 58 open_file(const char *pathname, unsigned int dsvc_flags, int *fdp) argument 73 *fdp = open(pathname, open_flags, 0644); 74 if (*fdp == -1)
|
/osnet-11/usr/src/cmd/sendmail/db/log/ |
H A D | log_put.c | 529 __log_name(dblp, filenumber, namep, fdp, flags) 533 int *fdp; 559 DB_APP_LOG, dblp->dir, new, 0, NULL, namep)) != 0 || fdp == NULL) 564 flags, flags, dblp->lp->persist.mode, fdp)) == 0) 586 flags, flags, dblp->lp->persist.mode, fdp)) == 0) {
|
/osnet-11/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_sync.c | 285 __mp_xxx_fd(dbmfp, fdp) 287 int *fdp; 307 return ((*fdp = dbmfp->fd) == -1 ? ENOENT : ret);
|
/osnet-11/usr/src/cmd/sendmail/db/xa/ |
H A D | xa_db.c | 173 __xa_fd(dbp, fdp) 175 int *fdp; 179 COMPQUIET(fdp, NULL);
|
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_ctl.c | 1035 create_lock(int *fdp, struct cfga_msg *msgp, char **errstring) argument 1043 *fdp = -1; 1082 *fdp = open(SCFGA_LOCK, O_RDWR|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR); 1083 if (*fdp == -1 && errno == EEXIST) { 1092 if (*fdp == -1 && errno == EEXIST) { 1095 } else if (*fdp == -1) {
|
/osnet-11/usr/src/lib/cfgadm_plugins/sysctrl/common/ |
H A D | cfga.c | 536 sysc_stat(const char *ap_id, int *fdp) argument 547 } else if (fdp) 548 *fdp = fd; 568 sim_sysc_stat(const char *ap_id, int *fdp) argument 597 } else if (fdp) 598 *fdp = fd;
|
/osnet-11/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 667 struct ipart *fdp, *ext_fdp; local 677 fdp = epp->mtable; 679 for (i = 0; (i < FD_NUMPART) && (!ext_part_found); i++, fdp++) { 680 if (fdisk_is_dos_extended(LE_8(fdp->systid))) { 682 secnum = LE_32(fdp->relsect); 685 epp->ext_end_sec = secnum + LE_32(fdp->numsect) - 1; 774 secnum = LE_32(fdp->relsect) +
|
/osnet-11/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema.c | 453 int *fdp, 474 if ((fd = open(bank_spec, ((fdp != NULL) ? O_RDWR : O_RDONLY), 0)) == 502 if (fdp) 503 *fdp = fd; 451 ap_stat( const char *bank_spec, int *fdp, mema_bank_t *bkp, ac_stat_t *stp, char **errstring) argument
|