/opensolaris-onvv-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_door.h | 47 char logfile[MAXPATHLEN]; member in struct:admin
|
H A D | cachemgr.c | 69 static int cachemgr_set_lf(admin_t *ptr, char *logfile); 349 (void) strcpy(current_admin.logfile, LOGFILE); 387 (void) strlcpy(current_admin.logfile, 388 optarg, sizeof (current_admin.logfile)); 446 if (strlen(current_admin.logfile) == 0) 450 (void) strcpy(current_admin.logfile, LOGFILE); 453 current_admin.logfile); 471 if (strlen(current_admin.logfile) == 0) 472 (void) strcpy(current_admin.logfile, "/dev/null"); 474 current_admin.logfile); 977 cachemgr_set_lf(admin_t *ptr, char *logfile) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/libldap4/util/ |
H A D | log.c | 28 static char logfile[PATH_MAX] = variable 39 char *logfile; member in struct:_logctx 51 strcpy(logfile, logf); 84 if ((returnCtx->logfile = strdup(name)) == NULL) { 88 openlog(returnCtx->logfile, OPENLOG_OPTIONS, facility); 130 if ((logsize > 0) && (stat(logfile, &statbuf) == 0 && 133 (void) sprintf(newlog1, "%s.%d", logfile, i-1); 134 (void) sprintf(newlog2, "%s.%d", logfile, i); 141 (void) rename(logfile, newlog1); 147 logfd = fopen(logfile, " [all...] |
/opensolaris-onvv-gate/usr/src/lib/libldap5/sources/ldap/util/ |
H A D | log.c | 28 static char logfile[PATH_MAX] = variable 39 char *logfile; member in struct:_logctx 51 strcpy(logfile, logf); 84 if ((returnCtx->logfile = strdup(name)) == NULL) { 88 openlog(returnCtx->logfile, OPENLOG_OPTIONS, facility); 130 if ((logsize > 0) && (stat(logfile, &statbuf) == 0 && 133 (void) sprintf(newlog1, "%s.%d", logfile, i-1); 134 (void) sprintf(newlog2, "%s.%d", logfile, i); 141 (void) rename(logfile, newlog1); 147 logfd = fopen(logfile, "a [all...] |
/opensolaris-onvv-gate/usr/src/cmd/fs.d/cachefs/cachefslog/ |
H A D | cachefslog.c | 57 char *logfile; local 115 if ((logfile = stats_log_kernel_getname(fs)) == NULL) { 120 if ((logfile[0] == '\0') && (hflag) && (! vflag)) { 121 log_show(argv[optind], logfile); 155 if ((logfile = stats_log_kernel_getname(fs)) == NULL) { 161 log_show(argv[optind], logfile); 202 log_show((char *)(uintptr_t)k->ks_mountpoint, logfile); 220 log_show(char *mount, char *logfile) argument 222 if (logfile[0] == '\0') 223 logfile [all...] |
/opensolaris-onvv-gate/usr/src/cmd/nscd/ |
H A D | nscd_admin.h | 46 char logfile[NSCD_LOGFILE_LEN]; member in struct:nscd_admin 64 char logfile[NSCD_LOGFILE_LEN]; member in struct:nscd_admin_mod
|
H A D | server.c | 69 static char logfile[128] = { 0 }; variable 239 logfile, sizeof (logfile)); 303 (void) strlcpy(logfile, optarg, sizeof (logfile)); 403 if (*logfile == '\0') { 406 (void) strcpy(logfile, "stderr"); 408 (void) strcpy(logfile, "/dev/null"); 410 (void) _nscd_add_admin_mod(NULL, 'l', logfile,
|
H A D | nscd_admin.c | 89 (void) printf("\"%s\" is server log file\n", admin_c.logfile); 119 _nscd_logit(me, "logfile_set = %d, logfile = %s\n", 120 set->logfile_set, *set->logfile == '\0' ? 121 "" : set->logfile); 147 if (_nscd_set_log_file(set->logfile) != NSCD_SUCCESS) { 150 (me, "unable to set log file %s\n", set->logfile); 154 (void) strlcpy(admin_c.logfile, set->logfile, 277 (void) strlcpy(admin_mod.logfile,
|
/opensolaris-onvv-gate/usr/src/cmd/logadm/ |
H A D | tester | 933 set_file('logfile', 'initially logfile'); 934 set_file('logfile.0', 'initially logfile.0'); 937 lstat 'logfile' or die "lstat logfile: $!\n"; 942 [ -s logfile ] && exit 1 943 [ -f logfile.0 ] || exit 1 944 [ "xinitially logfile" = "x`/bin/cat logfile [all...] |
/opensolaris-onvv-gate/usr/src/cmd/svc/startd/ |
H A D | log.c | 125 static FILE *logfile = NULL; variable 201 if (st->st_log_flags & STARTD_LOG_FILE && logfile) { 202 (void) fputs(buf, logfile); 203 (void) fflush(logfile); 260 * logfile and syslogd file descriptors from being leaked to child processes. 277 char logfile[PATH_MAX]; local 283 (void) snprintf(logfile, PATH_MAX, "%s/%s", st->st_log_prefix, logstem); 286 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 325 char logfile[PATH_MAX]; local 333 (void) snprintf(logfile, PATH_MA [all...] |
/opensolaris-onvv-gate/usr/src/lib/libnisdb/ |
H A D | db.cc | 83 logfile = NULL; 102 delete logfile; 351 if (logfile->append(&le) < 0) { 368 if (logfile->sync_log() < 0) { 432 /* close existing logfile and delete its structure */ 439 if (logfile != NULL) { 441 logfile->sync_log(); 442 if (logfile->close() < 0) { 447 delete logfile; 448 logfile [all...] |
H A D | db_c.x | 55 db_log *logfile; 70 % db_log *logfile; 83 % Does not affect "logfile" */ 108 %/* Destructor: deletes filenames and logfile descriptor.
|
/opensolaris-onvv-gate/usr/src/cmd/bnu/ |
H A D | perfstat.c | 315 * This function writes a conn record to the logfile. 615 * logfile - file descripter 621 writeLog (string, logfile, logname, collecting) 624 int * logfile; 634 if (openLog(logfile,logname) != SUCCESS){ 641 rv = write(*logfile, string, (unsigned) length); 650 closeLog(logfile); 668 closeLog (logfile) 669 int *logfile; 672 if (*logfile ! [all...] |
H A D | logent.c | 51 static char logfile[MAXFULLNAME]; local 62 && strncmp(Rmtname, BASENAME(logfile, '/'), MAXBASENAME) != 0) { 68 sprintf(logfile, "%s/%s", Logfile, Rmtname); 69 _Lf = fopen(logfile, "a"); 70 (void) chmod(logfile, LOGFILEMODE);
|
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ |
H A D | ftpaddhost.sh | 32 # When the -x xferlog option is supplied, ftpaddhost creates a logfile entry 122 # Remove any existing root or logfile entries. 124 /^[ ]*logfile[ ]/d" $ftpaccess >"$vhftpaccess" 156 # Add the transfer logfile. 157 if [ -n "$logfile" ] 159 echo "logfile $logfile" >>"$vhftpaccess" 212 # Add the transfer logfile. 213 if [ -n "$logfile" ] 215 echo "virtual $hostname logfile [all...] |
H A D | paths.c | 82 extern char logfile[]; 147 (void) strlcpy(logfile, _PATH_XFERLOG, MAXPATHLEN);
|
/opensolaris-onvv-gate/usr/src/cmd/latencytop/common/ |
H A D | latencytop.c | 221 char logfile[PATH_MAX] = ""; local 280 } else if (strlen(optarg) >= sizeof (logfile)) { 286 (void) strncpy(logfile, optarg, 287 sizeof (logfile)); 415 if (!unknown_option && strlen(logfile) > 0) { 416 err = lt_klog_set_log_file(logfile); 420 logfile); 424 logfile);
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Sys/Syslog/t/ |
H A D | syslog.t | 236 my $logfile = "test.log"; 237 open(LOG, ">$logfile") or skip "can't create file '$logfile': $!", 2; 239 $r = eval { setlogsock("stream", $logfile ) } || ''; 240 is( $@, '', "setlogsock() called, with 'stream' and '$logfile' (file exists)" ); 242 unlink($logfile);
|
/opensolaris-onvv-gate/usr/src/cmd/ttymon/ |
H A D | tmlog.c | 64 char logfile[MAXPATHLEN]; local 68 (void) snprintf(logfile, sizeof (logfile), "%s%s/%s", LOGDIR, Tag, 73 if ((fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND,0444)) != -1) 82 logfile, strerror(errno)); 135 (void) unlink(tlogf); /* remove any stale tmp logfile */
|
/opensolaris-onvv-gate/usr/src/cmd/streams/log/ |
H A D | strerr.c | 58 static FILE *logfile(FILE *log, struct log_ctl *lp); 75 logfile(FILE *log, struct log_ctl *lp) function 151 log = logfile(log, lp);
|
/opensolaris-onvv-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_log.c | 121 * These two macros are used to prep a logfile data structure and 125 * the logfile struct. 301 struct log_file *logfile; local 305 if (log_file_create(name, &logfile)) 313 buffer->lb_logfile = logfile; 421 * 'logfile' is set to be the log_file structure with reference one. 430 struct log_file *logfile = NULL; local 450 logfile = (struct log_file *)kmem_zalloc(sizeof (*logfile), KM_SLEEP); 451 logfile 910 struct log_file *logfile; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/lp/model/netpr/ |
H A D | Makefile | 31 PURIFYOPTS = -logfile=/tmp/errs.%p
|
/opensolaris-onvv-gate/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.h | 69 FILE *logfile; /* file to log to */ member in struct:zlog
|
/opensolaris-onvv-gate/usr/src/lib/libsip/common/ |
H A D | sip_logging.c | 195 sip_enable_trans_logging(FILE *logfile, int flags) argument 197 if (logfile == NULL || flags != SIP_DETAIL_LOGGING) 202 trans_log.sip_logfile = logfile; 215 sip_enable_dialog_logging(FILE *logfile, int flags) argument 217 if (logfile == NULL || flags != SIP_DETAIL_LOGGING) 222 dialog_log.sip_logfile = logfile;
|
/opensolaris-onvv-gate/usr/src/cmd/filebench/workloads/ |
H A D | oltp.f | 51 # Define a datafile and logfile 53 define fileset name=logfile,path=$dir,size=$logfilesize,filesizegamma=0,entries=$nlogfiles,dirwidth=1024,prealloc=100,cached=$cached,reuse 59 flowop aiowrite name=lg-write,filesetname=logfile,
|