Searched defs:fname (Results 1 - 25 of 314) 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/tail/
H A Dmisc.c47 ierr(const char *fname) argument
49 warn("%s", fname);
/illumos-gate/usr/src/cmd/soelim/
H A Dsoelim.c61 char fname[BUFSIZ]; local
93 cp = fname;
112 if (cp == fname) {
117 if (process(fname) < 0)
119 printf(".so %s\n", fname);
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_rename.c86 char *fname = NULL; local
93 if ((error = fake_lookup_dir(frompath, &fdvp, &fname)) != 0)
114 error = VOP_RENAME(fdvp, fname, tdvp, tname, CRED(), NULL, 0);
/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/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/test/zfs-tests/cmd/dos_ro/
H A Ddos_ro.c32 dosattr_set_ro(int fildes, const char *fname) argument
43 if (fname == NULL) {
46 err = setattrat(fildes, XATTR_VIEW_READWRITE, fname, nvl);
53 fname, err);
73 char *fname; local
90 fname = argv[optind];
92 fd = open(fname, O_CREAT | O_RDWR, 0644);
94 perror(fname);
124 n = dosattr_set_ro(fd, NULL /* fname? */);
/illumos-gate/usr/src/cmd/mandoc/
H A Ddba_read.c36 dba_read(const char *fname) argument
45 if (dbm_open(fname) == -1)
/illumos-gate/usr/src/boot/lib/libstand/
H A Dopen.c91 open(const char *fname, int mode) argument
113 error = (fs->fo_open)(fname, f);
119 error = devopen(f, fname, &file);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Disaexec.c50 const char *fname; local
103 fname = execname + (str - pathname);
105 fname = execname;
121 (void) strcat(pathname + len, fname);
/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/cmd/luxadm/
H A Dsetboot.c73 setboot(unsigned int yes, unsigned int verbose, char *fname) argument
77 if (!getbootdevname(fname, bdev)) {
80 fname);
95 char *fname; local
118 fname = MNTTAB;
119 f = fopen(fname, "r");
121 perror(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/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/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...]

Completed in 221 milliseconds

1234567891011>>