/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | history.c | 201 static int _glh_cant_load_history(GlHistory *glh, const char *filename, 204 const char *filename, FILE *fp); 995 * filename const char * The name of the new file to record the 1009 int _glh_save_history(GlHistory *glh, const char *filename, const char *comment, argument 1025 if(!glh || !filename || !comment) { 1034 fp = fopen(filename, "w"); 1036 return _glh_cant_save_history(glh, "Can't open", filename, NULL); 1060 return _glh_cant_save_history(glh, "Error writing", filename, fp); 1068 return _glh_cant_save_history(glh, "Error writing", filename, fp); 1076 return _glh_cant_save_history(glh, "Error writing", filename, NUL 1097 _glh_cant_save_history(GlHistory *glh, const char *message, const char *filename, FILE *fp) argument 1155 _glh_load_history(GlHistory *glh, const char *filename, const char *comment, char *line, size_t dim) argument 1277 _glh_cant_load_history(GlHistory *glh, const char *filename, int lineno, const char *message, FILE *fp) argument [all...] |
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getexecattr.c | 118 (be->filename == NULL) || 126 if (stat(be->filename, &f_stat) != 0) { 147 if ((be->f = fopen(be->filename, "rF")) == 0) { 177 if (stat(be->filename, &f_stat) != 0) {
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_hostconf.c | 53 * output: char *: the hostconf filename 60 static char filename[sizeof (DHCP_HOSTCONF_TMPL6) + LIFNAMSIZ]; local 62 (void) snprintf(filename, sizeof (filename), "%s%s%s", 66 return (filename);
|
/illumos-gate/usr/src/lib/librcm/ |
H A D | librcm_impl.h | 155 int rcm_is_script(char *filename);
|
/illumos-gate/usr/src/cmd/mdb/common/libstandctf/ |
H A D | ctf_subr.c | 70 ctf_open(const char *filename, int *errp) argument
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_main.c | 250 char filename[MAXPATHLEN]; local 290 (void) snprintf(filename, MAXPATHLEN, "%s.cache", c); 291 c = filename; 296 DLMGMT_TMPFS_DIR, filename);
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj_stubs.c | 91 kobj_open(char *filename) argument
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_isa.c | 118 mp->filename);
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_isa.c | 102 mp->filename);
|
/illumos-gate/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_isa.c | 102 mp->filename);
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | netpr.h | 105 char *filename; member in struct:job 125 char *np_path_file; /* /<path>/<filename> we are printing */
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | commands.c | 39 static int page_file(char *filename); 467 page_file(char *filename) argument 471 result = pager_file(filename); 475 "error showing %s", filename);
|
/illumos-gate/usr/src/boot/sys/boot/userboot/ |
H A D | userboot.h | 77 int (*open)(void *arg, const char *filename, void **h_return);
|
/illumos-gate/usr/src/cmd/tic/ |
H A D | tic_read.c | 106 * read_entry(filename, ptr) 119 read_entry(filename, bptr, nptr, sptr) 120 char *filename; 145 fd = open(filename, 0);
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | crossref.c | 66 static char *filename; /* file name for warning messages */ variable 92 filename = srcfile; /* save the file name for warning messages */ 440 filename, yylineno, text);
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | stdio.c | 149 fopen(const char *filename, const char *mode) argument 187 fd = open(filename, O_RDONLY); 193 (void) strlcpy(stream->_name, filename,
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_ncp.c | 168 nwam_ncp_name_to_file(const char *name, char **filename) argument 170 assert(name != NULL && filename != NULL); 172 if ((*filename = malloc(MAXPATHLEN)) == NULL) 175 (void) snprintf(*filename, MAXPATHLEN, "%s%s%s%s", NWAM_CONF_DIR, 215 char *filename, *suffix; local 225 if ((filename = basename(path_copy)) == NULL) { 230 /* Ensure filename begins/ends with right prefix/suffix */ 231 if (sscanf(filename, NWAM_NCP_CONF_FILE_PRE "%256[^\n]s", *name) < 1) { 249 char *filename; local 255 if ((err = nwam_ncp_name_to_file(name, &filename)) ! 603 char *filename; local [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_dictionary.cc | 615 filename = NULL; 763 filename = strdup(dictname); 764 if (filename == NULL) { 770 int len = strlen(filename); 773 delete filename; 781 delete filename; 789 sprintf(tmpfilename, "%s.tmp", filename); 790 sprintf(logfilename, "%s.log", filename); 935 unlink(filename); /* There shouldn't be a tmpfile or logfile */ 1120 filename [all...] |
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | readelf.c | 61 static void process(char *filename, int fd); 199 process(char *filename, int fd) argument 222 if ((modules.name = malloc(strlen(filename) + 1)) == NULL) { 224 whoami, strlen(filename) + 1); 227 (void) strcpy(modules.name, filename);
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ippool_y.y | 422 int ippool_parsefile(fd, filename, iocfunc) 424 char *filename; 439 if (strcmp(filename, "-")) { 440 fp = fopen(filename, "r"); 442 fprintf(stderr, "fopen(%s) failed: %s\n", filename,
|
/illumos-gate/usr/src/tools/aw/ |
H A D | aw.c | 328 * it's a filename. 563 char *filename; local 573 filename = arg; 609 newae(cpp, filename); 611 newae(m4, filename); 613 newae(as, filename);
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_main.c | 473 dis_file(const char *filename) argument 484 if ((tgt = dis_tgt_create(filename)) == NULL) 488 (void) printf("disassembly for %s\n\n", filename); 583 die("%s: unsupported ELF machine 0x%x", filename, 606 filename, dis_strerror(dis_errno()));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 112 static char *filename; variable 783 filename = (char *)&tp->th_stuff; 784 mode = next_field(filename, &buf.data[size]); 792 readmode ? "RRQ" : "WRQ", filename, mode); 861 fd = open(filename, 891 * Maybe map filename into another one. 931 * Allow <Hex IP Addr>* filename request to to be 969 * Try to validate filename. If the filename doesn't exist try PNP mapping. 977 if (stat(filename, [all...] |
/illumos-gate/usr/src/cmd/locale/ |
H A D | locale.c | 609 char *filename; /* filename[PATH_MAX] */ local 612 if ((filename = malloc(PATH_MAX)) == NULL) { 618 (void) memset(filename, 0, PATH_MAX); 624 (void) strcpy(filename, LOCALE_DIR); 627 (void) strcpy(filename, CHARMAP_DIR); 630 if ((dirp = opendir(filename)) == NULL) { 640 p = filename + strlen(filename); 645 if (stat(filename, [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | main.c | 124 shp->st.filename = path_fullname(stakptr(PATH_OFFSET)); 319 shp->st.filename = path_fullname(name); 332 shp->st.filename = path_fullname(sp); 392 nv_putval(SH_PATHNAMENOD, shp->st.filename ,NV_NOFREE); 624 if(shp->st.filename) 625 free((void*)shp->st.filename); 626 shp->st.filename = 0;
|