Searched refs:filename (Results 1 - 25 of 453) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/bnu/
H A Dgnamef.c33 * filename -> address of buffer to return filename in
40 gnamef(p, filename)
41 register char *filename;
54 (void) strncpy(filename, dp->d_name, MAXBASENAME);
55 filename[MAXBASENAME] = '\0';
62 * filename -> address of buffer to return filename in
69 gdirf(p, filename, dir)
70 register char *filename;
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dremove.c39 remove(const char *filename) argument
44 * If filename is not a directory, call unlink(filename)
45 * Otherwise, call rmdir(filename)
48 if (lstat64(filename, &statb) != 0)
51 return (unlink(filename));
52 return (rmdir(filename));
H A Dassert.c48 _assert(const char *assertion, const char *filename, int line_num) argument
54 assertion, filename, line_num);
62 * function name in addition to the filename and line number
66 _assert_c99(const char *assertion, const char *filename, int line_num, argument
74 assertion, filename, line_num, funcname);
H A Dopendir.c49 opendir(const char *filename) argument
54 if ((fd = openat(AT_FDCWD, filename,
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.h37 const char *filename);
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A DPlatformCommon.h18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled);
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_files.c24 int open_data_file(const char *filename) argument
29 fd = open(filename, O_RDONLY);
34 snprintf(buf, 256, "%s/%s", data_dir, filename);
50 struct token *get_tokens_file(const char *filename) argument
57 fd = open_data_file(filename);
60 token = tokenize(filename, fd, NULL, NULL);
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Ddelete.c44 char *filename = NULL; local
50 filename = get_string(optarg_av, &rv);
51 if (filename == NULL) {
84 if (filename == NULL) {
85 filename = strdup(KMF_DEFAULT_POLICY_FILE);
86 if (filename == NULL) {
101 } else if (strcmp(filename, KMF_DEFAULT_POLICY_FILE) == 0 &&
111 if (access(filename, W_OK) < 0) {
115 filename, strerror(err));
120 kmfrv = kmf_delete_policy_from_db(policyname, filename);
[all...]
/illumos-gate/usr/src/cmd/etdump/
H A Detdump.h33 void (*output_image)(FILE *outfile, const char *filename,
35 void (*output_section)(FILE *outfile, const char *filename,
37 void (*output_entry)(FILE *outfile, const char *filename,
/illumos-gate/usr/src/tools/onbld/Checks/
H A DCddl.py52 def cddlchk(fh, filename=None, lenient=False, verbose=False, output=sys.stderr):
53 return CmtBlk.cmtblkchk(fh, 'CDDL', CDDL, filename=filename,
H A DCStyle.py36 def cstyle(fh, filename=None, output=sys.stderr, **opts):
52 if not filename:
53 filename = fh.name
59 line = line.replace('<stdin>', filename)
H A DJStyle.py37 def jstyle(fh, filename=None, output=sys.stderr, **opts):
51 if not filename:
52 filename = fh.name
58 line = line.replace('<stdin>', filename)
H A DKeywords.py46 def keywords(fh, filename=None, lenient=False, verbose=False,
54 if not filename:
55 filename = fh.name
71 (filename, lineno, ', '.join(match)))
H A DCopyright.py42 def copyright(fh, filename=None, output=sys.stderr):
45 if not filename:
46 filename = fh.name
56 err(output, "no copyright message found", filename)
60 filename)
H A DMapfile.py47 def mapfilechk(fh, filename=None, verbose=False, output=sys.stderr):
48 if filename:
49 name = filename
90 filename=filename, verbose=verbose,
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dmbchk.c56 check_multiboot (const char *filename, FILE *fp) argument
64 fprintf (stderr, "%s: Read error.\n", filename);
81 fprintf (stderr, "%s: No Multiboot header.\n", filename);
87 filename, i);
94 filename, mbh->checksum);
103 filename, mbh->flags);
110 filename, (mbh->flags & 0x1)? "on" : "off");
112 filename, (mbh->flags & 0x2)? "on" : "off");
114 filename, (mbh->flags & 0x10000)? "on" : "off");
125 filename, mb
[all...]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dvpfopen.c42 vpfopen(char *filename, char *type) argument
48 if ((returncode = fopen(filename, type)) == NULL &&
49 filename[0] != '/' && strcmp(type, "r") == 0) {
52 (void) sprintf(buf, "%s/%s", vpdirs[i], filename);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf_open.c45 mdb_ctf_open(const char *filename, int *errp) argument
47 return (ctf_open(filename, errp));
57 mdb_ctf_write(const char *filename, ctf_file_t *fp) argument
61 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0644)) < 0)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/atime/
H A Datime_common.kshlib45 typeset filename=$1
47 typeset before=$(ls -Eu $filename | awk '{print $7}')
48 log_must cat $filename
49 typeset after=$(ls -Eu $filename | awk '{print $7}')
/illumos-gate/usr/src/tools/ctf/ctfstrip/
H A Dctfstrip.c68 check_file(const char *filename, mode_t *mode) argument
74 fd = open(filename, O_RDONLY);
76 warn("Unable to open %s", filename);
81 warn("stat(2) failed on %s", filename);
87 warnx("%s is not a regular file", filename);
93 warnx("%s is not an ELF file", filename);
99 warn("Error reading %s", filename);
105 warnx("%s is not an ELF file", filename);
116 fix_file(const char *filename, mode_t mode) argument
123 if (chmod(filename, mod
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dutimes.c31 __utimes(char *filename, struct timeval *tvp) { argument
36 return (utime(filename, &utb));
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlastcomm.c42 char *filename = NULL; local
50 filename = optarg;
57 gettext("Usage:\tlastcomm [-x] [-f filename]"
67 if (filename) {
68 return (lc_exacct(filename, argc, argv, optind));
80 if (filename == NULL) {
96 if ((res = ea_open(&ef, filename, EXACCT_CREATOR,
101 return (lc_pacct(filename, argc, argv, optind));
103 return (lc_exacct(filename, argc, argv, optind));
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/
H A Dlinenoise.h58 int linenoiseHistorySave(const char *filename);
59 int linenoiseHistoryLoad(const char *filename);
/illumos-gate/usr/src/cmd/asa/
H A Dasa.c45 static void disp_file(FILE *f, char *filename);
58 char *filename = NULL; local
81 filename = NULL;
84 f = get_next_file(need_a_newline, filename, argv, argc);
94 disp_file(f, filename);
99 f = get_next_file(need_a_newline, filename, argv, argc);
149 disp_file(f, filename);
154 f = get_next_file(need_a_newline, filename,
181 disp_file(FILE *f, char *filename) argument
186 if (filename) {
203 get_next_file(int need_a_newline, char *filename, char *argv[], int argc) argument
[all...]
/illumos-gate/usr/src/cmd/rpcbind/
H A Dwarmstart.c56 open_tmp_file(const char *filename) argument
69 if (unlink(filename) == -1) {
73 fd = open(filename, O_CREAT|O_EXCL|O_WRONLY, 0600);
86 write_struct(const char *filename, xdrproc_t structproc, void *list) argument
91 fp = open_tmp_file(filename);
97 fp = open_tmp_file(filename);
100 "cannot open file = %s for writing", filename);
109 syslog(LOG_ERR, "rpcbind: xdr_%s: failed", filename);
119 read_struct(const char *filename, xdrproc_t structproc, void *list) argument
126 fd = open(filename, O_RDONL
[all...]

Completed in 254 milliseconds

1234567891011>>