/illumos-gate/usr/src/cmd/bnu/ |
H A D | gnamef.c | 33 * 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 D | remove.c | 39 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 D | assert.c | 48 _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 D | opendir.c | 49 opendir(const char *filename) argument 54 if ((fd = openat(AT_FDCWD, filename,
|
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil.h | 37 const char *filename);
|
H A D | llib-lpicld_pluginutil | 37 const char *filename);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | PlatformCommon.h | 18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled);
|
/illumos-gate/usr/src/tools/onbld/Checks/ |
H A D | Cddl.py | 49 def cddlchk(fh, filename=None, lenient=False, verbose=False, output=sys.stderr): 50 return CmtBlk.cmtblkchk(fh, 'CDDL', CDDL, filename=filename,
|
H A D | CStyle.py | 36 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 D | JStyle.py | 37 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 D | Keywords.py | 46 def keywords(fh, filename=None, lenient=False, verbose=False, 54 if not filename: 55 filename = fh.name 71 (filename, lineno, ', '.join(match)))
|
H A D | ManLint.py | 36 def manlint(fh, filename=None, output=sys.stderr, **opts): 46 if not filename: 47 filename = fh.name 53 line = line.replace('<stdin>', filename)
|
H A D | Copyright.py | 42 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 D | Mapfile.py | 45 def mapfilechk(fh, filename=None, verbose=False, output=sys.stderr): 46 if filename: 47 name = filename 89 filename=filename, verbose=verbose,
|
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/ |
H A D | delete.c | 44 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/grub/grub-0.97/util/ |
H A D | mbchk.c | 56 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 D | vpfopen.c | 42 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 D | mdb_ctf_open.c | 45 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 D | atime_common.kshlib | 45 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 D | ctfstrip.c | 67 check_file(const char *filename, mode_t *mode) argument 73 fd = open(filename, O_RDONLY); 75 warn("Unable to open %s", filename); 80 warn("stat(2) failed on %s", filename); 86 warnx("%s is not a regular file", filename); 92 warnx("%s is not an ELF file", filename); 98 warn("Error reading %s", filename); 104 warnx("%s is not an ELF file", filename); 115 fix_file(const char *filename, mode_t mode) argument 122 if (chmod(filename, mod [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | utimes.c | 31 __utimes(char *filename, struct timeval *tvp) { argument 36 return (utime(filename, &utb));
|
/illumos-gate/usr/src/cmd/lastcomm/ |
H A D | lastcomm.c | 42 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 D | linenoise.h | 58 int linenoiseHistorySave(const char *filename); 59 int linenoiseHistoryLoad(const char *filename);
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | warmstart.c | 56 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...] |
/illumos-gate/usr/src/cmd/asa/ |
H A D | asa.c | 45 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...] |