Searched refs:fname (Results 1 - 25 of 146) sorted by relevance

123456

/osnet-11/usr/src/lib/libc/port/sys/
H A Daccess.c32 faccessat(int fd, const char *fname, int amode, int flag) argument
34 return (syscall(SYS_faccessat, fd, fname, amode, flag));
39 access(const char *fname, int amode) argument
41 return (faccessat(AT_FDCWD, fname, amode, 0));
H A Dnfssys.c46 nga.fname = path;
/osnet-11/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);
/osnet-11/usr/src/lib/libproc/common/
H A Dproc_get_info.c54 char fname[PATH_MAX]; local
60 (void) snprintf(fname, sizeof (fname), "%s/%d/cred",
62 if ((fd = open(fname, O_RDONLY)) >= 0) {
76 char fname[PATH_MAX]; local
81 (void) snprintf(fname, sizeof (fname), "%s/%d/priv",
83 if ((fd = open(fname, O_RDONLY)) >= 0) {
105 char fname[PATH_MAX]; local
111 (void) snprintf(fname, sizeo
138 char fname[PATH_MAX]; local
155 char fname[PATH_MAX]; local
178 char fname[PATH_MAX]; local
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dexecvp.c111 char fname[PATH_MAX+2]; local
155 cp = execat(cp, name, fname);
162 if (*fname == '-') {
163 size_t size = strlen(fname) + 1;
164 if ((size + 2) > sizeof (fname)) {
168 (void) memmove(fname + 2, fname, size);
169 fname[0] = '.';
170 fname[1] = '/';
172 (void) execv(fname, arg
[all...]
H A Disaexec.c44 const char *fname; local
97 fname = execname + (str - pathname);
99 fname = execname;
115 (void) strcat(pathname + len, fname);
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/
H A Ddb.c50 kdb2_dbopen(fname, flags, mode, type, openinfo)
51 const char *fname;
65 return (__bt_open(fname, flags & USE_OPEN_FLAGS,
68 return (__hash_open(fname, flags & USE_OPEN_FLAGS,
71 return (__rec_open(fname, flags & USE_OPEN_FLAGS,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/Temp/t/
H A Dmktemp.t68 ($fh, my $fname) = mkstemps($template, $suffix);
70 print "# MKSTEMPS: File is $template -> $fname fileno=".fileno($fh)."\n";
72 ok( (-e $fname) );
76 $status = unlink0($fh, $fname);
/osnet-11/usr/src/cmd/sendmail/db/os/
H A Dos_fid.c33 __os_fileid(dbenv, fname, timestamp, fidp)
35 const char *fname;
53 if (stat(fname, &sb)) {
54 __db_err(dbenv, "%s: %s", fname, strerror(errno));
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_print.c51 char *fname,
69 return (meta_trans_print(sp, namep, nlpp, fname, fp,
73 return (meta_mirror_print(sp, namep, nlpp, fname, fp,
77 return (meta_raid_print(sp, namep, nlpp, fname, fp,
81 return (meta_stripe_print(sp, namep, nlpp, fname, fp,
85 return (meta_sp_print(sp, namep, nlpp, fname, fp,
100 char *fname,
114 if (meta_trans_print(sp, NULL, nlpp, fname, fp, options,
119 if (meta_logs_print(sp, lognlp, nlpp, fname, fp, options, ep) != 0) {
124 if (meta_mirror_print(sp, NULL, nlpp, fname, f
47 meta_print_name( mdsetname_t *sp, mdname_t *namep, mdnamelist_t **nlpp, char *fname, FILE *fp, mdprtopts_t options, mdnamelist_t **lognlpp, md_error_t *ep ) argument
98 meta_print_all( mdsetname_t *sp, char *fname, mdnamelist_t **nlpp, FILE *fp, mdprtopts_t options, int *meta_print_trans_msgp, md_error_t *ep ) argument
[all...]
H A Dsdssc_bind.c117 if (strcmp(f->fname, "_sdssc_convert_cluster_path") == 0) {
119 } else if (strcmp(f->fname, "_sdssc_free_convert_cluster_path")
174 if ((*ftp->fptr = dlsym(dp, ftp->fname)) == NULL) {
180 if (strcmp(ftp->fname,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dunixish.h124 #define Stat(fname,bufptr) stat((fname),(bufptr))
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dhist.c49 char *fname; local
191 if(!(fname=pathtmp(NIL(char*),0,0,NIL(int*))))
193 if((fdo=open(fname,O_CREAT|O_RDWR,S_IRUSR|S_IWUSR)) < 0)
194 errormsg(SH_DICT,ERROR_system(1),e_create,fname);
228 fdo = pad_create(fname);
230 unlink(fname);
231 strcat(fname, ".bak");
232 unlink(fname);
242 com[1] = fname;
246 fdo = sh_chkopen(fname);
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dloadsave.c429 CK_BYTE fname[MAXPATHLEN]; local
437 (void) snprintf((char *)fname, sizeof (fname),
444 fp = fopen((char *)fname, "r");
463 fp = fopen((char *)fname, "r");
466 fname, (char *)strerror(errno));
545 CK_BYTE fname[MAXPATHLEN]; local
552 (void) snprintf((char *)fname, sizeof (fname),
559 fp = fopen((char *)fname, "
623 CK_BYTE fname[MAXPATHLEN]; local
685 CK_BYTE fname[MAXPATHLEN]; local
745 CK_BYTE fname[100]; local
865 CK_BYTE tmp[MAXPATHLEN], fname[MAXPATHLEN], iname[MAXPATHLEN]; local
946 CK_BYTE tmp[MAXPATHLEN], fname[MAXPATHLEN], iname[MAXPATHLEN]; local
1107 CK_BYTE fname[MAXPATHLEN]; local
1165 islink(char *fname) argument
1181 char objidx[MAXPATHLEN], idxtmp[MAXPATHLEN], fname[MAXPATHLEN]; local
[all...]
/osnet-11/usr/src/lib/efcode/fcdriver/
H A Dload_node.c186 char *search, *fname; local
198 fname = search_path(lib_name, search, fn);
200 return (fname);
212 char *fname; local
214 if ((fname = find_lib_file(env, "lfc_", name, ".so", load_lib_file))
216 debug_msg(DEBUG_FIND_FCODE, "Loading Library: %s\n", fname);
217 FREE(fname);
218 } else if ((fname = search_for_fcode_file(env, name)) != NULL) {
219 debug_msg(DEBUG_FIND_FCODE, "Loading Fcode: %s\n", fname);
220 run_fcode_from_file(env, fname,
[all...]
H A Dget_req.c164 char *buf, *fname; local
169 if ((fname = pop_a_string(env, NULL)) == NULL) {
170 log_message(MSG_DEBUG, "fname?\n");
177 if ((fd = fopen(fname, "w")) == NULL) {
179 fname);
182 log_message(MSG_INFO, "Fcode %p,%x to file '%s'\n", buf, len, fname);
217 static char fname[] = "get-fcode-from-filesystem"; local
224 debug_msg(DEBUG_FIND_FCODE, "%s: %s -> %s found\n", fname,
228 fname, path);
233 fname, fc_nam
[all...]
/osnet-11/usr/src/lib/libbsm/common/
H A Daudit_cron.c88 audit_cron_getinfo(char *fname, char *fname_aux, struct auditinfo_addr *info) argument
146 if (stat(fname, &st))
159 if (strstr(fname, "crontabs") != NULL) {
160 if (getpwnam_r(basename(fname), &pwd, pwd_buff,
182 audit_cron_setinfo(char *fname, struct auditinfo_addr *info) argument
187 r = chmod(fname, 0200);
191 if ((fd = open(fname, O_CREAT|O_WRONLY|O_TRUNC, 0200)) == -1)
225 (void) unlink(fname);
231 audit_cron_make_anc_name(char *fname) argument
235 anc_name = (char *)malloc(strlen(fname)
291 char *fname; local
[all...]
/osnet-11/usr/src/lib/efcode/engine/
H A Dlog.c254 open_error_log(char *fname, int errflags) argument
256 if ((error_log_fp = fopen(fname, "a")) == NULL) {
257 log_perror(MSG_FATAL, fname);
260 error_log_name = STRDUP(fname);
325 char *fname; local
329 fname = pop_a_string(env, NULL);
330 if (fname != NULL) {
331 if ((fp = fopen(fname, "a")) == NULL) {
332 log_perror(MSG_ERROR, "Can't open '%s'\n", fname);
340 error_log_name = STRDUP(fname);
[all...]
/osnet-11/usr/src/lib/libsecdb/common/
H A Di.rbac159 fname=$(basename $1)
160 type=${fname%_attr}
167 outfile=$tmp_dir/rbac_${PKGINST}_${fname}_merge.$$
/osnet-11/usr/src/tools/onbld/Checks/
H A DCopyright.py38 def err(stream, msg, fname, line=None):
40 stream.write("%s: %d: %s\n" % (fname, line, msg))
42 stream.write("%s: %s\n" % (fname, msg))
/osnet-11/usr/src/grub/grub2/util/
H A Dimport_gcry.py182 fname = m.groups ()[1] variable
183 chmsg = "(%s): Removed." % fname
197 fname = re.match ("[a-zA-Z0-9_]*", line).group () variable
198 chmsg = "(%s): Removed." % fname
238 fname = line[len ("static const char \*"):] variable
239 fname = re.match ("[a-zA-Z0-9_]*", fname).group () variable
240 chmsg = "(%s): Removed declaration." % fname
262 fname = line[len ("cipher_extra_spec_t "):] variable
263 fname variable
274 fname = line[len ("md_extra_spec_t "):] variable
275 fname = re.match ("[a-zA-Z0-9_]*", fname).group () variable
[all...]
/osnet-11/usr/src/lib/pam_modules/authtok_check/
H A Dpacker.c211 * int sort_file(fname)
227 sort_file(char *fname) argument
234 if ((fd = open(fname, O_RDONLY)) == -1) {
236 fname, strerror(errno));
256 "Split the file into smaller files.", fname);
359 char *listcopy, *fname; local
372 fname = strtok(listcopy, " \t,");
373 while (ret == 0 && fname != NULL) {
374 if ((ret = sort_file(fname)) == 0)
375 fname
[all...]
H A Dpacklib.c18 char fname[PATH_MAX]; local
20 (void) snprintf(fname, sizeof (fname), "%s/%s", path,
22 (void) unlink(fname);
23 (void) snprintf(fname, sizeof (fname), "%s/%s", path,
25 (void) unlink(fname);
26 (void) snprintf(fname, sizeof (fname), "%s/%s", path,
28 (void) unlink(fname);
[all...]
/osnet-11/usr/src/tools/onbld/Scm/
H A DWorkSpace.py202 for fname in ctx.files():
209 if fname not in self:
210 self._addentry(fname)
211 self[fname].comments.extend(desc)
214 fctx = ctx.filectx(fname)
234 copies[fname] = copies[rn[0]]
236 copies[fname] = rn[0]
246 for fname, oldname in copies.iteritems():
247 if fname == oldname or fname no
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_open.c58 __rec_open(fname, flags, mode, openinfo, dflags)
59 const char *fname;
71 if (fname != NULL && (rfd = open(fname, flags | O_BINARY, mode)) < 0)
74 if (fname != NULL && fcntl(rfd, F_SETFD, 1) == -1) {
118 if (fname == NULL)
123 if (fname != NULL) {
222 if (fname != NULL)

Completed in 59 milliseconds

123456