1 /* $XConsortium: debug.c /main/3 1996/11/21 20:00:19 drk $ */
3 * (c) Copyright 1993, 1994 Hewlett-Packard Company
4 * (c) Copyright 1993, 1994 International Business Machines Corp.
5 * (c) Copyright 1993, 1994 Novell, Inc.
6 * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
11 #define X_INCLUDE_TIME_H
12 #define XOS_USE_NO_LOCKING
13 #include <X11/Xos_r.h>
17 static int inited = 0;
20 _DtCm_print_tick(time_t t)
23 _Xctimeparams ctime_buf;
25 a = _XCtime(&t, ctime_buf);
26 (void) fprintf (stderr, "%d %s\n", t, a);
30 _DtCm_print_errmsg(const char *msg)
33 openlog("libcsa", 0, 0);
38 fprintf(stderr, "libcsa: %s\n", msg);
40 syslog(LOG_ERR, "%s\n", msg);