Searched refs:log (Results 1 - 22 of 22) sorted by relevance

/ast/src/lib/libast/comp/
H A Dcloselog.c40 if (log.fd >= 0)
42 close(log.fd);
43 log.fd = -1;
45 log.facility = 0;
46 log.flags = 0;
47 log.mask = ~0;
48 log.attempt = 0;
H A Dopenlog.c45 if (n >= sizeof(log.ident))
46 n = sizeof(log.ident) - 1;
47 memcpy(log.ident, ident, n);
48 log.ident[n] = 0;
51 log.ident[0] = 0;
52 log.facility = facility;
53 log.flags = flags;
54 if (!(log.flags & LOG_ODELAY))
H A Dsetlogmask.c42 old_mask = log.mask;
44 log.mask = mask;
H A Dsysloglib.h32 #define log _log_info_ macro
36 * NOTE: syslog() has a static initializer for Syslog_state_t log
42 int fd; /* log to this fd */
50 extern Syslog_state_t log;
H A Dsyslog.c42 Syslog_state_t log = { LOG_USER, -1, 0, ~0 };
47 "/var/log/syslog", 0,
49 "/dev/log", 0,
50 "var/log/syslog", 0,
51 "lib/syslog/log", 0,
260 if (log.fd < 0)
264 if (log.attempt >= elementsof(attempt))
266 p = (Namval_t*)&attempt[log.attempt++];
267 if (p->value && !(p->value & log.flags))
271 if ((log
[all...]
/ast/src/lib/libast/uwin/
H A Dcbrt.c34 return(exp(log(x)/3.0));
H A Dlog.c39 static char sccsid[] = "@(#)log.c 8.2 (Berkeley) 11/30/93";
54 * Calculates log(2^m*F*(1+f/F)), |f/j| <= 1/256,
57 * log(2^m) = log2_hi*m + log2_tail*m
62 * log(F) = logF_hi[j] + logF_lo[j] is in tabular form in log_table.h
65 * log(1+f/F) = 2*f/(2*F + f) + 1/12 * (2*f/(2*F + f))**3 + ...
72 * 2. when m = j = 0, |1-x| < 1/256, and log(x) ~= (x-1).
94 /* Table of log(Fj) = logF_head[j] + logF_tail[j], for Fj = 1+j/128.
100 * Values for log(F) were generated using error < 10^-57 absolute
376 log(double x) function
378 log(
[all...]
H A Dlgamma.c63 * x < 0, all bets are off. (When G(x) ~ 1, log(G(x)) ~ 0)
170 return (-log(x));
202 t.a = v.a*u.a; /* t = (x-.5)*(log(x)-1) */
293 return (log(y));
311 z = log(M_PI/(z*x));
/ast/src/cmd/cs/
H A Dmbb.c103 int log; member in struct:State_s
130 note(Css_t* css, register Connection_t* to, int log, char* s, size_t n, int force, Cssdisc_t* disc) argument
135 if ((force || to->blocked[log] < 0) && (z = data(state, to, s, n, force)) != n)
140 if (!state->logs[log].sp)
142 state->logs[log].name[0] = '0' + log;
143 remove(state->logs[log].name);
144 if (!(state->logs[log].sp = sfopen(NiL, state->logs[log].name, "r+")))
145 error(ERROR_SYSTEM|3, "%s: cannot create message log", stat
181 dump(Css_t* css, register Connection_t* con, int log, Cssdisc_t* disc) argument
[all...]
/ast/src/cmd/coshell/
H A Devent.c77 "[+?The \b--cs\b, \b--expire\b, \b--initialize\b, and \b--log\b options "
78 "apply to the initial service command, and the \b--expire\b, \b--log\b, "
86 "[l!:log?Log server activity to \astate-name\a.log, where \astate-name\a "
111 #define log _log /* gnu builtin? you've got to be kidding */ macro
182 int quiet; /* suppress response log messages */
204 int log; /* log activity */ member in struct:State_s
214 Sfio_t* logf; /* log buffer stream */
256 * generate a user response and log messag
260 log(State_t* state, Connection_t* con, int type, const char* format, ...) function
[all...]
/ast/src/lib/libvcodex/
H A Dvclog.c152 #define LOG2 0.6931472 /* natural log of 2 */
180 { printf(" %9.7lf%c", (i == 0 ? 0 : log((double)i)/log(2.)),
/ast/src/cmd/builtin/
H A Dpty.c78 "[l:log?Log the master stdout and stderr to \afile\a.]:[file]"
966 char* log = 0; local
986 log = opt_info.arg;
1041 if (!log)
1043 else if (!(lp = sfopen(NiL, log, "w")))
1044 error(ERROR_system(1), "%s: cannot write", log);
1067 error(ERROR_system(1), "%s: write error", log);
/ast/src/cmd/ksh93/sh/
H A Dlex.c187 register Sfio_t *log= shp->funlog; local
194 log = shp->gd->hist_ptr->histfp;
195 sfwrite(log, (void*)buff, size);
/ast/src/cmd/mailx/
H A Ddata.c410 "log", &state.var.log, N, 0,0,
434 "record", &state.var.log, A, 0,0,
435 X("log"),
H A Dnames.c433 else if (!(tp = state.var.log))
H A Dmailx.h826 char* log; member in struct:__anon136::__anon147
/ast/src/cmd/ksh93/tests/
H A Darith.sh324 x=$(( exp(log(2.0)) ))
H A Doptions.sh236 keyword log markdirs monitor notify \
/ast/src/cmd/INIT/
H A Dpackage.sh163 file \aaction\a\b.log/\b\ahost\a. Logs can be viewed by
984 for the action is saved per-host in ACTION.log/HOST. Logs
4275 eval name=\$${host}_name user=\$${host}_user snarf=\$${host}_snarf type=\$${host}_type rsh=\$${host}_rsh root=\$${host}_root keep=\$${host}_keep log=\$${host}_log
4283 '') exec > $admin_log/$log 2>&1 ;;
4284 *) echo "exec > $admin_log/$log 2>&1" ;;
4395 admin_log=${admin_action}${admin_components}.log
4569 log=$name.$type
4572 log=$name
4586 eval ${host}_name='$'name ${host}_type='$'type ${host}_user='$'user ${host}_sync='$'sync ${host}_snarf='$'sync ${host}_rsh='$'rsh ${host}_root='$'root ${host}_keep='$'keep ${host}_log='$'log
4857 1) eval name='$'${share}_name log
[all...]
/ast/src/lib/libast/
H A DMakefile207 err.c exp.c exp__E.c expm1.c gamma.c getpass.c lgamma.c log.c log1p.c \
/ast/src/lib/libtksh/tcl/
H A DtclExpr.c290 {"log", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) log},
/ast/src/cmd/nmake/
H A DMakerules.mk53 set option=';official-output;s;-;The \bdiff\b(1) log file name for the \bofficial\b action. If \afile\a is a relative path name then it is written in the next view level.;file:=OFFICIAL'

Completed in 172 milliseconds