| /onnv/onnv-gate/usr/src/cmd/ldapcachemgr/ |
| cachemgr_door.h | 47 char logfile[MAXPATHLEN]; member in struct:admin
|
| 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 [all...] |
| /onnv/onnv-gate/usr/src/lib/libldap4/util/ |
| 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...] |
| /onnv/onnv-gate/usr/src/lib/libldap5/sources/ldap/util/ |
| 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, "aF") [all...] |
| /onnv/onnv-gate/usr/src/cmd/fs.d/cachefs/cachefslog/ |
| 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) 222 if (logfile[0] == '\0') 223 logfile = gettext("not logged") [all...] |
| /onnv/onnv-gate/usr/src/cmd/nscd/ |
| 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
|
| server.c | 69 static char logfile[128] = { 0 }; variable 238 logfile, sizeof (logfile)); 302 (void) strlcpy(logfile, optarg, sizeof (logfile)); 402 if (*logfile == '\0') { 405 (void) strcpy(logfile, "stderr"); 407 (void) strcpy(logfile, "/dev/null"); 409 (void) _nscd_add_admin_mod(NULL, 'l', logfile,
|
| 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,
|
| /onnv/onnv-gate/usr/src/lib/brand/lx/zone/ |
| lx_install.ksh | 39 [[ -n $logfile ]] && echo "$@" >&2 44 # logfile. 52 [[ -n $logfile ]] && printf "$fmt\n" "$@" >&2 59 [[ -n $logfile ]] && [[ -n $verbose_mode ]] && echo "$@" >&2 480 logfile="${logdir}/$zonename.install.$$.log" 482 if ! > $logfile; then 483 screenlog "$no_logfile" "$logfile" 488 exec 2>>"$logfile" 537 -d "$install_src" -l "$logfile" $install_opts "$@" 558 screenlog "$see_log" "$logfile" [all...] |
| /onnv/onnv-gate/usr/src/cmd/logadm/ |
| tester | 932 set_file('logfile', 'initially logfile'); 933 set_file('logfile.0', 'initially logfile.0'); 936 lstat 'logfile' or die "lstat logfile: $!\n"; 941 [ -s logfile ] && exit 1 942 [ -f logfile.0 ] || exit 1 943 [ "xinitially logfile" = "x`/bin/cat logfile.0`" ] || exit [all...] |
| /onnv/onnv-gate/usr/src/cmd/svc/startd/ |
| log.c | 127 static FILE *logfile = NULL; variable 203 if (st->st_log_flags & STARTD_LOG_FILE && logfile) { 204 (void) fputs(buf, logfile); 205 (void) fflush(logfile); 262 * logfile and syslogd file descriptors from being leaked to child processes. 279 char logfile[PATH_MAX]; local 285 (void) snprintf(logfile, PATH_MAX, "%s/%s", st->st_log_prefix, logstem); 288 fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 327 char logfile[PATH_MAX]; local 335 (void) snprintf(logfile, PATH_MAX, "%s/%s", st->st_log_prefix [all...] |
| /onnv/onnv-gate/usr/src/lib/libnisdb/ |
| 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 = NULL [all...] |
| db_c.x | 55 db_log *logfile; 70 % db_log *logfile; 83 % Does not affect "logfile" */ 108 %/* Destructor: deletes filenames and logfile descriptor.
|
| /onnv/onnv-gate/usr/src/cmd/latencytop/common/ |
| latencytop.c | 215 char logfile[PATH_MAX] = ""; local 269 } else if (strlen(optarg) >= sizeof (logfile)) { 275 (void) strncpy(logfile, optarg, 276 sizeof (logfile)); 363 if (!unknown_option && strlen(logfile) > 0) { 364 err = lt_klog_set_log_file(logfile); 368 logfile); 372 logfile);
|
| /onnv/onnv-gate/usr/src/cmd/bnu/ |
| perfstat.c | 217 static int LogFile = CLOSED; /* Log file file destriptor. */ 315 * This function writes a conn record to the logfile. 348 writeLog(Record,&LogFile,LogName,&Collecting); 454 writeLog(Record,&LogFile,LogName,&Collecting); 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); [all...] |
| 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);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ |
| 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 $logfile" >>$ftpacces [all...] |
| paths.c | 82 extern char logfile[]; 147 (void) strlcpy(logfile, _PATH_XFERLOG, MAXPATHLEN);
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Sys/Syslog/t/ |
| 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);
|
| /onnv/onnv-gate/usr/src/cmd/ttymon/ |
| tmlog.c | 64 char logfile[MAXPATHLEN]; local 68 (void) snprintf(logfile, sizeof (logfile), "%s%s/%s", LOGDIR, Tag, 69 LOGFILE); 73 if ((fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND,0444)) != -1) 82 logfile, strerror(errno)); 103 (void) snprintf(logf, sizeof (logf), "%s%s/%s", LOGDIR, Tag, LOGFILE); 135 (void) unlink(tlogf); /* remove any stale tmp logfile */
|
| /onnv/onnv-gate/usr/src/cmd/streams/log/ |
| 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);
|
| /onnv/onnv-gate/usr/src/uts/common/fs/nfs/ |
| nfs_log.c | 124 * These two macros are used to prep a logfile data structure and 128 * the logfile struct. 304 struct log_file *logfile; local 308 if (log_file_create(name, &logfile)) 316 buffer->lb_logfile = logfile; 424 * 'logfile' is set to be the log_file structure with reference one. 433 struct log_file *logfile = NULL; local 453 logfile = (struct log_file *)kmem_zalloc(sizeof (*logfile), KM_SLEEP); 454 logfile->lf_path = name 913 struct log_file *logfile; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/filebench/workloads/ |
| 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,
|
| /onnv/onnv-gate/usr/src/cmd/lp/model/netpr/ |
| Makefile | 31 PURIFYOPTS = -logfile=/tmp/errs.%p
|
| /onnv/onnv-gate/usr/src/cmd/zoneadmd/ |
| zoneadmd.h | 70 FILE *logfile; /* file to log to */ member in struct:zlog
|