/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_tab.c | 50 Free(tabp->filename); 156 assert(tabp->filename != NULL); 157 len = strlen(tabp->filename) + 170 dgettext(TEXT_DOMAIN, "%s line %u"), tabp->filename, 251 char *filename, 262 if (filename == NULL) 263 filename = METATAB; 264 if ((fd = open(filename, O_RDONLY, 0)) < 0) { 265 (void) mdsyserror(ep, errno, filename); 269 (void) mdsyserror(ep, errno, filename); 250 meta_tab_parse( char *filename, md_error_t *ep ) argument [all...] |
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_print.c | 83 smbfs_print(const char *username, const char *share_unc, const char *filename) argument 92 if ((share_unc == NULL) || (filename == NULL)) 124 if (strcmp(filename, "-") == 0) { 126 filename = "stdin"; 128 file = open(filename, O_RDONLY, 0); 130 smbfs_error("couldn't open file %s\n", errno, filename); 167 ctx->ct_user, filename);
|
/osnet-11/usr/src/lib/libldap4/util/ |
H A D | line64.c | 161 char * filename; local 183 filename = strdup(s); 185 /* now we have the filename, read its content and return the value */ 186 if (( fp = fopen( filename, "r" )) == NULL ) 188 perror( filename ); 194 perror( filename ); 208 perror( filename ); 219 perror( filename );
|
/osnet-11/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_hostconf.c | 50 * output: char *: the hostconf filename 57 static char filename[sizeof (DHCP_HOSTCONF_TMPL6) + LIFNAMSIZ]; local 59 (void) snprintf(filename, sizeof (filename), "%s%s%s", 63 return (filename); 70 static char filename[sizeof (DHCP_HOSTCONF_TMPL6) + LIFNAMSIZ]; local 72 (void) snprintf(filename, sizeof (filename), "%s%s%s", 76 return (filename);
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | adb_openclose.c | 49 osa_adb_create_db(char *filename, char *lockfilename, int magic) argument 63 db = dbopen(filename, O_RDWR | O_CREAT | O_EXCL, 0600, DB_BTREE, &btinfo); 79 osa_adb_destroy_db(char *filename, char *lockfilename, int magic) argument 82 if (unlink(filename) < 0 || 137 osa_adb_init_db(osa_adb_db_t *dbp, char *filename, char *lockfilename, argument 145 if (dbp == NULL || filename == NULL) 196 if (strcmp(lockp->lockinfo.filename, lockfilename) == 0) 224 lockp->lockinfo.filename = strdup(lockfilename); 247 db->filename = strdup(filename); [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | ls.c | 97 auto int print_files (const char *filename, 99 auto int print_files_long (const char *filename, 102 int print_files (const char *filename, const struct grub_dirhook_info *info) argument 104 if (all || filename[0] != '.') 105 grub_printf ("%s%s ", filename, info->dir ? "/" : ""); 110 int print_files_long (const char *filename, argument 113 if ((! all) && (filename[0] == '.')) 122 pathname = grub_xasprintf ("%s%s", dirname, filename); 124 pathname = grub_xasprintf ("%s/%s", dirname, filename); 193 grub_printf ("%s%s\n", filename, inf [all...] |
H A D | parttool.c | 186 char *filename; local 188 filename = grub_xasprintf ("%s/parttool.lst", prefix); 189 if (filename) 193 file = grub_file_open (filename); 232 grub_free (filename);
|
H A D | test.c | 63 char *filename, *pathname; local 74 if ((info->case_insensitive ? grub_strcasecmp (cur_filename, filename) 75 : grub_strcmp (cur_filename, filename)) == 0) 111 /* Split into path and filename. */ 112 filename = grub_strrchr (pathname, '/'); 113 if (! filename) 116 filename = pathname; 120 filename++; 122 path[filename - pathname] = 0;
|
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/ |
H A D | main.c | 191 grub_efiemu_load_file (const char *filename) 196 file = grub_file_open (filename); 230 char *filename; 246 filename = grub_xasprintf ("%s/%s", prefix, suffix); 247 if (! filename) 252 err = grub_efiemu_load_file (filename); 253 grub_free (filename); 301 return grub_error (GRUB_ERR_BAD_ARGUMENT, "filename required"); 190 grub_efiemu_load_file(const char *filename) argument 229 char *filename; local
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/ieee1275/ |
H A D | init.c | 86 char *filename; local 121 filename = grub_ieee1275_get_filename (bootpath); 122 if (filename) 124 char *lastslash = grub_strrchr (filename, '\\'); 130 grub_translate_ieee1275_path (filename); 132 *path = filename;
|
/osnet-11/usr/src/grub/grub2/grub-core/loader/efi/ |
H A D | chainloader.c | 124 make_file_path (grub_efi_device_path_t *dp, const char *filename) argument 131 dir_start = grub_strchr (filename, ')'); 133 dir_start = (char *) filename; 197 char *filename; local 201 filename = argv[0]; 212 file = grub_file_open (filename); 234 file_path = make_file_path (dp, filename);
|
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/pc/ |
H A D | chainloader.c | 144 grub_chainloader_cmd (const char *filename, grub_chainloader_flags_t flags) argument 160 file = grub_file_open (filename);
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-editenv.c | 265 char *filename; local 284 filename = DEFAULT_ENVBLK_PATH; 289 filename = argv[index++]; 290 if (strcmp (filename, "-") == 0) 291 filename = DEFAULT_ENVBLK_PATH; 296 create_envblk_file (filename); 298 list_variables (filename); 300 set_variables (filename, argc - index, argv + index); 302 unset_variables (filename, argc - index, argv + index);
|
/osnet-11/usr/src/cmd/sendmail/aux/ |
H A D | praliases.c | 64 char *filename = NULL; local 97 filename = optarg; 110 if (filename != NULL) 112 praliases(filename, argc, argv); 158 "praliases: AliasFile filename too long: %.30s\n", 232 praliases(filename, argc, argv) 233 char *filename; 247 colon = strchr(filename, PATH_SEPARATOR); 250 db_name = filename; 257 db_type = filename; [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/ |
H A D | Temp.pm | 28 file using the filename and the handle. Operating systems other than 47 ($fh, $filename) = tempfile( DIR => $dir ); 49 ($fh, $filename) = tempfile( $template, DIR => $dir); 50 ($fh, $filename) = tempfile( $template, SUFFIX => '.dat'); 60 $fname = $fh->filename; 103 a filehandle and filename are returned together. This helps guarantee 118 but should be used with caution since they return only a filename 120 that the file will not exist by the time the caller opens the filename. 227 # the filename is requested -- in the case where the filename i 997 sub filename { subroutine [all...] |
/osnet-11/usr/src/lib/ncad_addr/common/ |
H A D | ncad_addr.c | 98 const char *filename = "/etc/nca/ncaport.conf"; local 103 if ((fp = fopen(filename, "rF")) == NULL) { 106 filename,
|
/osnet-11/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,
|
/osnet-11/usr/src/lib/libresolv2/common/dst/ |
H A D | support.c | 225 * filename for a key file. '/', '\' and ':' are not allowed. 228 * Returns 0 if the filename would contain either '\', '/' or ':' 254 * Builds a key filename from the key name, it's id, and a 255 * suffix. '\', '/' and ':' are not allowed. fA filename is of the 260 * if the filename would be too long for space allotted 261 * if the filename would contain a '\', '/' or ':' 266 dst_s_build_filename(char *filename, const char *name, u_int16_t id, argument 270 if (filename == NULL) 272 memset(filename, 0, filename_length); 280 sprintf(filename, " 304 dst_s_fopen(const char *filename, const char *mode, int perm) argument [all...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | hesiod.c | 65 static int parse_config_file(struct hesiod_p *ctx, const char *filename); 272 parse_config_file(struct hesiod_p *ctx, const char *filename) { argument 290 if (!(fp = fopen(filename, "r")))
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | misc.c | 214 char *filename=0; local 259 filename = path_fullname(shp,stkptr(shp->stk,PATH_OFFSET)); 265 if(filename) 267 shp->st.filename = filename; 278 shp->st.filename = np->nvalue.rp->fname; 279 nv_putval(SH_PATHNAMENOD, shp->st.filename ,NV_NOFREE); 300 free((void*)shp->st.filename); 314 nv_putval(SH_PATHNAMENOD, shp->st.filename ,NV_NOFREE);
|
/osnet-11/usr/src/lib/libnetcfg/common/ |
H A D | libnetcfg_zio.c | 79 * Execute an operation on filename relative to zoneid's zone root. If the 88 netcfg_zfop(const char *filename, zoneid_t zoneid, zfcb_t *zfcb, argument 160 zfarg.zfarg_filename = filename; 204 const char *filename = zfarg->zfarg_filename; local 241 if (stat(filename, &statbuf) == -1) { 251 fd = open(filename, oflags, mode); 259 if (chown(filename, UID_NETCFG, GID_NETADM) == -1) { 331 netcfg_zopen_impl(const char *filename, zoneid_t zoneid, zfcb_t cb, argument 341 err = netcfg_zfop(filename, zoneid, cb, zfoparg); 354 netcfg_zopen(const char *filename, in argument 371 netcfg_zfopen(const char *filename, const char *modestr, zoneid_t zoneid, int *err) argument 407 netcfg_zunlink(const char *filename, zoneid_t zoneid) argument [all...] |
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | smb_autohome.c | 242 char filename[MAXNAMELEN]; local 258 (void) snprintf(filename, MAXNAMELEN, "%s/%s", path, 261 if ((si->fp = fopen(filename, "r")) == NULL)
|
/osnet-11/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 420 ctf_open(const char *filename, int *errp) argument 425 if ((fd = open64(filename, O_RDONLY)) == -1) {
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_file.c | 177 profile_make_prf_data(const char *filename) argument 183 flen = strlen(filename); 194 strlcpy(fcopy, filename, flen + 1);
|
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_lib.c | 441 print_buffer_bin(const unsigned char *buf, unsigned int len, char *filename) argument 446 if (len <= 0 || filename == NULL) 449 if ((f = fopen(filename, "w")) == NULL)
|