Searched refs:fnamebuf (Results 1 – 5 of 5) sorted by relevance
| /freebsd/usr.sbin/config/ |
| H A D | lang.l | 270 char *fnamebuf; 272 fnamebuf = NULL; 275 asprintf(&fnamebuf, "../../conf/%s", fname); 276 if (fnamebuf != NULL) { 277 fp = fopen(fnamebuf, "r"); 279 free(fnamebuf); 284 asprintf(&fnamebuf, "%s/%s", ipath->path, fname); 285 if (fnamebuf != NULL) { 286 fp = fopen(fnamebuf, "r"); 290 free(fnamebuf); [all …]
|
| H A D | mkmakefile.cc | 389 char *rfile, *compilewith, *depends, *clean, *fnamebuf, *warning; in read_file() local 397 asprintf(&fnamebuf, "%s/%s", ipath->path, fname); in read_file() 398 if (fnamebuf != NULL) { in read_file() 399 fp = fopen(fnamebuf, "r"); in read_file() 402 free(fnamebuf); in read_file()
|
| /freebsd/contrib/smbfs/smbutil/ |
| H A D | print.c | 65 char fnamebuf[256]; in cmd_print() local 110 snprintf(fnamebuf, sizeof(fnamebuf), "%s_%s_%s", ctx->ct_ssn.ioc_user, in cmd_print() 112 error = smb_smb_open_print_file(ctx, 0, 1, fnamebuf, &fh); in cmd_print()
|
| /freebsd/contrib/file/src/ |
| H A D | apprentice.c | 543 free(ms->fnamebuf); in file_ms_free() 576 ms->fnamebuf = NULL; in file_ms_alloc() 751 free(ms->fnamebuf); in file_apprentice() 752 if ((ms->fnamebuf = strdup(fn)) == NULL) { in file_apprentice() 768 fn = ms->fnamebuf; in file_apprentice()
|
| H A D | file.h | 481 char *fnamebuf; /* holding the full path/buffer */ member
|