かも。カテゴリ | BSD | adobe | afio | apart | atok | boki | book | car | dhcp | display | dns | flets | foods | former job | fp | gaim | gtk | hair | health | home | imap | ipa | iptables | ipv6 | job | kernel | ldap | lpi | microsoft | misc | mixi | money | mouse | music | net | nicola | ntp | oracle | ppp | qmail | radius | samba | shop | ski | society | spam | svn | taxi | tech | tel | topre | trip | tv | vaio | vine | vista | vpn | watch | web | wii | writer
してなかった。
% cat leapsec.c
#include <stdio.h>
#include <time.h>
int main()
{
time_t t = 1230768020;
int i;
for(i=0; i<5; i++){
printf("%11.1d: %s", t, ctime(&t));
t++;
}
exit(0);
}
% gcc ./leapsec.c; ./a.out
1230768020: Thu Jan 1 08:59:57 2009
1230768021: Thu Jan 1 08:59:58 2009
1230768022: Thu Jan 1 08:59:59 2009
1230768023: Thu Jan 1 08:59:60 2009
1230768024: Thu Jan 1 09:00:00 2009
%
こんな感じ。
_ わ [わしも手渡ししますた]