version 1.42, 2001/03/19 20:13:22
|
version 1.43, 2001/04/05 00:29:59
|
Line 42 static int rand() {
|
Line 42 static int rand() {
|
extern double atof(const char *c); |
extern double atof(const char *c); |
|
|
int main(int argc,char *argv[]) { |
int main(int argc,char *argv[]) { |
|
printf("%d\n",fgetc(stdin)); |
|
printf("%d\n",ungetc(23,stdin)); |
|
printf("%d\n",fgetc(stdin)); |
#if 0 |
#if 0 |
struct passwd *p=getpwnam("leitner"); |
struct passwd *p=getpwnam("leitner"); |
struct spwd *s=getspnam("leitner"); |
struct spwd *s=getspnam("leitner"); |
printf("%g\n",30.0123); |
printf("%g\n",30.0123); |
#endif |
#endif |
|
#if 0 |
initgroups("root",100); |
initgroups("root",100); |
|
#endif |
#if 0 |
#if 0 |
time_t t=time(0); |
time_t t=time(0); |
puts(asctime(localtime(&t))); |
puts(asctime(localtime(&t))); |