/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/ |
H A D | inetconv.c | 99 char *filename; member in struct:fileinfo 424 finfo->filename, finfo->lineno, 475 progname, finfo->filename, 487 finfo->filename, finfo->lineno, proto); 498 progname, finfo->filename, finfo->lineno, 507 progname, finfo->filename, finfo->lineno, 535 progname, finfo->filename, finfo->lineno); 539 finfo->filename, finfo->lineno, iconf->service); 545 progname, finfo->filename, finfo->lineno, 678 progname, finfo->filename, finf 715 print_manifest(FILE *f, char *filename, struct inetconfent *iconf) argument 808 open_srcfile(char *filename) argument 934 import_manifest(char *filename) argument [all...] |
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpmain.c | 1392 safe_open_common(const char *filename, int mode, int perms, int device) argument 1419 if ((fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_LARGEFILE, 1422 if (lstat64(filename, &pre_lstat) < 0) { 1426 if (stat64(filename, &pre_stat) < 0) { 1432 if ((fd = open(filename, working_mode)) < 0) { 1436 msg(errtext, filename); 1437 syslog(LOG_WARNING, errtext, filename); 1443 if (lstat64(filename, &post_lstat) < 0) { 1464 msg(errtext, filename); 1465 syslog(LOG_WARNING, errtext, filename); 1577 safe_file_open(const char *filename, int mode, int perms) argument 1586 safe_device_open(const char *filename, int mode, int perms) argument 1595 safe_fopen(const char *filename, const char *smode, int perms) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | devcache.c | 372 fread_nvlist(char *filename, nvlist_t **ret_nvlist) argument 386 file = kobj_open_file(filename); 388 KFDEBUG((CE_CONT, "cannot open file: %s\n", filename)); 397 nvf_error("error reading header: %s\n", filename); 400 KFDEBUG((CE_CONT, "file empty: %s\n", filename)); 402 nvf_error("header size incorrect: %s\n", filename); 426 filename, hdrsum, cksum); 428 nvf_error("%s: header information incorrect", filename); 440 nvf_error("%s: read error %d", filename, n); 443 filename, 481 kfcreate(char *filename, kfile_t **kfilep) argument 511 kfremove(char *filename) argument 663 fwrite_nvlist(char *filename, nvlist_t *nvl) argument [all...] |
/illumos-gate/usr/src/cmd/format/ |
H A D | add_definition.c | 82 char *filename; local 141 filename = (char *)(uintptr_t)input(FIO_OSTR, prompt, 143 assert(filename != NULL); 147 if ((fd = fopen(filename, "a")) == NULL) { 148 err_print("Cannot open `%s' - %s\n", filename, 150 destroy_data(filename); 179 destroy_data(filename);
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | main.c | 286 check_sanity(char *filename) argument 297 if (stat(filename, &stbd) < 0) { 300 "%s\n"), filename); 311 "block or character device\n"), filename); 346 * XXX - only works if filename is a block device or if 352 "already mounted\n"), filename); 359 filename); 363 filename);
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_reloc.c | 165 _kobj_printf(ops, " file=%s\n", mp->filename); 267 mp->filename) == 0) 293 mp->filename); 300 mp->filename); 305 mp->filename); 324 mp->filename); 333 mp->filename);
|
/illumos-gate/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_reloc.c | 162 _kobj_printf(ops, " file=%s\n", mp->filename); 261 mp->filename) == 0) 287 mp->filename); 294 mp->filename); 299 mp->filename); 318 mp->filename); 327 mp->filename);
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | atq.c | 65 static void printdate(char *filename); 370 printdate(char *filename) argument 379 jobdate = num(&filename); 407 FILE *filename; /* job file in spooling area */ local 414 if ((filename = fopen(file, "r")) == NULL) { 423 fscanf(filename, "%*[^\n]\n"); 428 if (fscanf(filename, ": jobname: %27s%*[^\n]\n", jobname) != 1) { 430 fclose(filename); 433 fclose(filename);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mlsetup.c | 477 mach_modpath(char *path, const char *filename) argument 480 * Construct the directory path from the filename. 492 if ((p = strrchr(filename, '/')) == NULL) 495 while (p > filename && *(p - 1) == '/') 497 if (p == filename) 504 len = p - filename; 506 strncmp(&filename[len - isalen], isastr, isalen) == 0) 512 len += (p - filename) + 1 + strlen(MOD_DEFPATH) + 1; 513 (void) strncpy(path, filename, p - filename); [all...] |
/illumos-gate/usr/src/lib/libshell/common/scripts/ |
H A D | simplefileattributetree1.sh | 53 typeset filename=$2 62 pe+=( ${filename} ) 84 filepath="${filename}"
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | setup.c | 123 __m_read_terminfo(filename, tp) 124 const char *filename; 135 if ((fd = open(filename, 0)) < 0) 408 char *old_names, *old_strings, *old_term, *filename; local 417 filename = (char *) 0; 445 || (filename = (char *) malloc(path_max+1)) == (char *) 0) { 451 /* Construct terminfo filename. */ 452 (void) sprintf(filename, "%s/%c/%s", terminfo, tolower(tm[0]), tm); 455 if (__m_read_terminfo(filename, cur_term) < 0) { 465 (void) sprintf(filename, " [all...] |
/illumos-gate/usr/src/cmd/tic/ |
H A D | tic_parse.c | 530 char filename[128 + 2 + 1]; local 560 sprintf(filename, "%c/%s", first_name[0], first_name); 562 if (stat64(filename, &statbuf) >= 0 && statbuf.st_mtime >= start_time) { 569 unlink(filename); 570 fp = fopen(filename, "w"); 572 perror(filename); 574 filename); 576 DEBUG(1, "Created %s\n", filename); 577 } else DEBUG(1, "Would have created %s\n", filename); 590 filename); 839 char filename[50]; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | scc.h | 78 char *filename; member in struct:_krb5_scc_data
|
/illumos-gate/usr/src/cmd/vgrind/ |
H A D | vgrindefs.c | 31 static char *filename; variable 60 filename = file; 61 tf = open(filename, 0); 139 if (tgetent(tcbuf, tcname, filename) != 1)
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_misc.h | 57 char **filename);
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | inetboot.c | 62 extern int openfile(char *filename); 109 printf("Enter filename [%s]: ", fn); 195 (void) strcpy(filename, kernname); 198 printf("standalone = `%s', args = `%s'\n", filename, bargs); 200 set_client_bootargs(filename, bargs);
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_sqlite.h | 43 sqlite_open(const char *filename, int mode, char **errmsg) argument
|
/illumos-gate/usr/src/cmd/make/include/vroot/ |
H A D | args.h | 42 extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw);
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_digest.c | 103 bootadm_digest(const char *filename, char **result) argument 201 if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == -1) { 202 bam_print(gettext("can not open input file %s\n"), filename); 211 "file %s: %s\n"), filename, pkcs11_strerror(rv));
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | setup.c | 168 __m_read_terminfo(const char *filename, TERMINAL *tp) argument 177 if ((fd = open(filename, 0)) < 0) { 430 char *old_names, *old_strings, *old_term, *filename; local 435 filename = NULL; 470 ((filename = (char *)malloc(PATH_MAX + 1)) == NULL)) { 476 /* Construct terminfo filename. */ 477 (void) sprintf(filename, "%s/%c/%s", terminfo, tm[0], tm); 480 if (__m_read_terminfo(filename, cur_term) < 0) { 490 (void) sprintf(filename, "%s/%c/%s", def_terminfo, tm[0], tm); 492 if (__m_read_terminfo(filename, cur_ter [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | bf.c | 106 char *filename; local 114 filename = ((struct bf_info *) info)->bi_filename; 120 if (*filename == '\0') 122 /* Empty filename string */ 126 if (stat(filename, &st) == 0) 163 l = strlen(filename) + 1; 173 (void) sm_strlcpy(bfp->bf_filename, filename, l); 181 sm_dprintf("sm_bfopen(%s)\n", filename); 190 ** filename -- the file's name 218 bfopen(char *filename, MODE_ argument [all...] |
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | command.c | 61 char filename[PATHLEN + 1]; /* file path name */ local 236 shellpath(filename, sizeof (filename), newpat); 237 if ((file = fopen(filename, s)) == NULL) { 238 cannotopen(filename); 258 shellpath(filename, sizeof (filename), newpat); 259 if (readrefs(filename) == NO) { 455 readrefs(char *filename) argument 460 if ((file = fopen(filename, " [all...] |
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | compat_common.h | 65 const char *filename; member in struct:compat_backend 102 const char *filename,
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | files_common.h | 76 const char *filename; member in struct:files_backend 98 const char *filename,
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | history.h | 89 * ~ and $ expansion are not performed on the filename. 91 int _glh_save_history(GlHistory *glh, const char *filename, 96 * Note that ~ and $ expansion are not performed on the filename. 98 int _glh_load_history(GlHistory *glh, const char *filename, const char *comment,
|