Searched defs:fname (Results 1 - 25 of 324) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_fdio.c44 mdb_fdio_create_path(const char *path[], const char *fname, argument
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_open.c50 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 Daccess.c33 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 Dislocal.c41 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 Disaexec.c41 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 Ddevopen.c36 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 Dcheckver.c51 check_version(int ver, char *fname) argument
58 if ((fp = fopen(fname, "rF")) == NULL)
/illumos-gate/usr/src/cmd/soelim/
H A Dsoelim.c60 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 Dmisc.c47 ierr(const char *fname) argument
49 warn("%s", fname);
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dgetdrvname.c82 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 Dprb_findexec.c52 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 Disaexec.c48 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 Dudpublickey.c61 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 Dwrite_audio.c42 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 Dmknod.c54 * 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 Dpathconf.c141 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 Dopen.c92 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 Dzopen.c11 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 Dexecvp.c64 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 Drune.c52 _Read_RuneMagi(const char *fname) argument
69 if ((fd = open(fname, O_RDONLY)) < 0) {
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dalloc.c70 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 Deftwrite.c99 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 Dlog_rec.c326 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 Dser_princ.c71 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 Dmbh_patch.c43 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...]

Completed in 143 milliseconds

1234567891011>>