diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-04-28 07:39:02 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-04-28 07:39:02 +0000 |
commit | 4ef6cdf0befb6c0f6216955125f8fd6d6baea02b (patch) | |
tree | d0a9420019dcc83c39ce68afde0645bb60f89e55 /sys/arch/i386/stand/libsa/biosdev.h | |
parent | c941e38f34044523866fe64fcdcee65a8d1d2a77 (diff) |
Add getsecs(). Use biostime & biosdate routines.
Parse and convert to seconds since epoch. Please
test, there is a new command "time", which should
print the current time (according to the BIOS) on
the console.
Diffstat (limited to 'sys/arch/i386/stand/libsa/biosdev.h')
-rw-r--r-- | sys/arch/i386/stand/libsa/biosdev.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/i386/stand/libsa/biosdev.h b/sys/arch/i386/stand/libsa/biosdev.h index fd556f44e3a..3fca437122a 100644 --- a/sys/arch/i386/stand/libsa/biosdev.h +++ b/sys/arch/i386/stand/libsa/biosdev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: biosdev.h,v 1.7 1997/04/23 14:49:23 weingart Exp $ */ +/* $OpenBSD: biosdev.h,v 1.8 1997/04/28 07:39:01 weingart Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -69,6 +69,12 @@ int com_ischar __P((void)); /* biosmem.S */ u_int biosmem __P((void)); +/* time.c */ +void time_print __P((void)); +time_t getsecs __P((void)); + /* biostime.S */ int usleep __P((u_long)); +int biostime __P((char *)); +int biosdate __P((char *)); #endif |