/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_fdio.c | 44 mdb_fdio_create_path(const char *path[], const char *fname, argument
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_open.c | 50 char *fname = uu_zalloc(PATH_MAX); local 52 if (fname == NULL) 56 (void) snprintf(fname, PATH_MAX, "%s/uu%lld", dir, gethrtime()); 58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600); 65 (void) unlink(fname); 67 uu_free(fname);
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | access.c | 33 faccessat(int fd, const char *fname, int amode, int flag) argument 35 return (syscall(SYS_faccessat, fd, fname, amode, flag)); 40 access(const char *fname, int amode) argument 43 return (syscall(SYS_access, fname, amode)); 45 return (faccessat(AT_FDCWD, fname, amode, 0));
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | islocal.c | 41 char fname[MAXPATHLEN]; local 46 (void) snprintf(fname, sizeof (fname), "%s%s", maildir, user); 47 if (stat(fname, &statb) == 0) {
|
/illumos-gate/usr/src/cmd/isaexec/ |
H A D | isaexec.c | 41 const char *fname; local 62 fname = strrchr(execname, '/'); 63 fname = (fname != NULL) ? (fname+1) : execname; 70 argv[0], fname); 77 argv[0], fname);
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | devopen.c | 36 devopen(struct open_file *f, const char *fname, const char **file) argument 41 result = archsw.arch_getdev((void **)&dev, fname, file);
|
/illumos-gate/usr/src/lib/libnsl/saf/ |
H A D | checkver.c | 51 check_version(int ver, char *fname) argument 58 if ((fp = fopen(fname, "rF")) == NULL)
|
/illumos-gate/usr/src/cmd/soelim/ |
H A D | soelim.c | 60 char fname[BUFSIZ]; local 92 cp = fname; 111 if (cp == fname) { 116 if (process(fname) < 0) 118 printf(".so %s\n", fname);
|
/illumos-gate/usr/src/cmd/tail/ |
H A D | misc.c | 47 ierr(const char *fname) argument 49 warn("%s", fname);
|
/illumos-gate/usr/src/lib/lvm/libsvm/common/ |
H A D | getdrvname.c | 82 char fname[PATH_MAX]; local 85 (void) snprintf(fname, sizeof (fname), "%s%s", mnt, NAME_TO_MAJOR); 87 if ((fp = fopen(fname, "r")) == NULL) {
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | prb_findexec.c | 52 char fname[PATH_MAX + 2]; local 68 cp = exec_cat(cp, name, fname); 69 if (stat(fname, &stat_buf) != -1) { 71 (void) strncpy(ret_path, fname, PATH_MAX + 2);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | isaexec.c | 48 const char *fname; local 100 fname = execname + (str - pathname); 102 fname = execname; 118 (void) strcat(pathname + len, fname);
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | udpublickey.c | 61 char *fname; local 69 fname = argv[1]; 70 tmpname = malloc(strlen(fname) + 4); 74 sprintf(tmpname, "%s.tmp", fname); 116 rf = fopen(fname, "r"); 161 if (rename(tmpname, fname) < 0) {
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | write_audio.c | 42 open_audio(char *fname) argument 49 ext = (char *)(strrchr(fname, '.')); 56 fname); 63 return (open_au_read_stream(fname)); 65 return (open_wav_read_stream(fname)); 67 return (open_file_read_stream(fname)); 69 return (open_aur_read_stream(fname));
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | mknod.c | 54 * fname - pathname passed by user 59 mknodat(int fd, char *fname, mode_t fmode, dev_t dev) argument 93 if (fname == NULL) 95 if ((error = fgetstartvp(fd, fname, &startvp)) != 0) 101 error = vn_createat(fname, UIO_USERSPACE, &vattr, EXCL, 0, &vp, 112 mknod(char *fname, mode_t fmode, dev_t dev) argument 114 return (mknodat(AT_FDCWD, fname, fmode, dev));
|
H A D | pathconf.c | 141 pathconf(char *fname, int name) argument 149 if (error = lookupname(fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) {
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | open.c | 92 open(const char *fname, int mode) argument 114 error = (fs->fo_open)(fname, f); 120 error = devopen(f, fname, &file);
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | zopen.c | 11 FILE *zopen(const char *fname, const char *mode); 39 zopen(const char *fname, const char *mode) argument 41 gzFile gz = gzopen(fname, mode);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | execvp.c | 64 char fname[MAXPATHLEN]; local 76 cp = execat(cp, name, fname); 78 (void) execv(fname, argv); 82 newargs[1] = fname;
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | rune.c | 52 _Read_RuneMagi(const char *fname) argument 69 if ((fd = open(fname, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | alloc.c | 70 alloc_malloc(size_t nbytes, const char *fname, int line) argument 75 outfl(O_DIE, fname, line, "malloc: out of memory"); 92 alloc_realloc(void *ptr, size_t nbytes, const char *fname, int line) argument 97 out(O_DIE, fname, line, "realloc: out of memory"); 108 alloc_strdup(const char *ptr, const char *fname, int line) argument 113 outfl(O_DIE, fname, line, "strdup: out of memory"); 125 alloc_free(void *ptr, const char *fname, int line) argument
|
H A D | eftwrite.c | 99 eftwrite(const char *fname) argument 140 if ((fp = fopen(fname, "w")) == NULL) 141 out(O_DIE|O_SYS, "can't open output file: %s", fname); 164 out(O_DIE|O_SYS, "%s: can't write header", fname); 178 out(O_DIE|O_SYS, "fwrite on %s", fname);
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_rec.c | 326 FNAME *fname; local 340 if (__log_lid_to_fname(logp, ndx, &fname) != 0) { 345 name = R_ADDR(logp, fname->name_off); 359 fname->ufid, name, fname->s_type, ndx)) != 0)
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | ser_princ.c | 71 char *fname; 84 !(kret = krb5_unparse_name(kcontext, principal, &fname))) { 85 *sizep += (3*sizeof(krb5_int32)) + strlen(fname); 87 krb5_xfree_wrap(fname, strlen(fname) + 1); 104 char *fname; 116 if (!(kret = krb5_unparse_name(kcontext, principal, &fname))) { 119 (void) krb5_ser_pack_int32((krb5_int32) strlen(fname), 121 (void) krb5_ser_pack_bytes((krb5_octet *) fname, 122 strlen(fname), 70 char *fname; local 102 char *fname; local [all...] |
/illumos-gate/usr/src/tools/mbh_patch/ |
H A D | mbh_patch.c | 43 static char *fname; variable 68 pname, fname, eh->e_type); 73 fname); 82 "hdrs\n", pname, fname, eh->e_phnum); 98 pname, fname); 129 "PT_LOAD wasn't 1st PT_LOAD\n", pname, fname); 134 pname, fname); 146 (void) printf(" %s: ELF64 MB header patched\n", fname); 155 "section\n", pname, fname); 180 fname [all...] |