Subject: stime and sprintf() conversions
To: None <netbsd-help@netbsd.org>
From: Berndt Josef Wulf <wulf@dingo.ping.net.au>
List: netbsd-help
Date: 07/20/1999 15:31:55
G'day,
I am in progress porting a networking package to NetBSD-i386 and need
some info on the following subjects:
1.) the source code contains %a %j %t conversions
for sprintf() and family, which I never seen before. Can
someone clue me up on this?
e.g.
log_msg("Link to %a lost",l->call);
s += sprintf(s," - %t",time(NULL));
printf("'%j/%d' ",&n[2],n[6]);
2.) the source code calls function stime() which isn't
supported on NetBSD. Anyone with an idea what this does?
system time or set time?
Many thanks in advance
cheerio Berndt
--
Name : Berndt Josef Wulf | +++ With BSD on Packet Radio +++
E-Mail : wulf@ping.net.au | tfkiss, tnt, dpbox, wampes
URL : http://www.ping.net.au/~wulf | VK5ABN, Nairne, South Australia
FTP : ftp://ftp.ping.net.au/ham | MBOX : vk5abn@vk5abn.#lmr.#sa.au.oc
Sysinfo : DEC AXPpci33+, NetBSD-1.4 | BBS : vk5abn.#lmr.#sa.aus.oc