HP85 GPIB Disk Emulator
1.0
HP85GPIBDiskEmulator
lif
lifsup.h
Go to the documentation of this file.
1
15
#ifdef LIF_STAND_ALONE
16
17
#include <stdio.h>
18
#include <stdlib.h>
19
#include <inttypes.h>
20
#include <stdint.h>
21
#include <string.h>
22
#include <strings.h>
23
#include <sys/stat.h>
24
#include <
time.h
>
25
#include <libgen.h>
26
#include <sys/types.h>
27
#include <utime.h>
28
29
#define MEMSPACE
30
#define WEAK_ATR
31
typedef
struct
tm
tm_t
;
32
#define safecalloc(a,b) calloc(a,b)
33
#define safefree(a) free(a)
34
#define sync()
35
36
/* lifsup.c */
37
struct
tm
*
gmtime_r
(
const
time_t
*timep ,
struct
tm
*result );
38
char
*
asctime_r
(
const
struct
tm
*t ,
char
*buf );
39
time_t
timegm
(
struct
tm
*a_tm );
40
void
copyright
(
void
);
41
int
main
(
int
argc ,
char
*argv []);
42
#endif
timegm
MEMSPACE time_t timegm(tm_t *t)
Convert tm_t structure as GMT time into GMT seconds since 1900. All calculactions are in GMT regardle...
Definition:
time.c:348
asctime_r
MEMSPACE char * asctime_r(tm_t *t, char *buf)
Convert tm_t *t structure into POSIX asctime() ASCII string *buf.
Definition:
time.c:368
time.h
Common Linux/POSIX time functions.
copyright
void copyright(void)
main
int main(void)
main() for gpib project
Definition:
main.c:507
tm
POSIX struct tm.
Definition:
time.h:40
time_t
uint32_t time_t
type of EPOCH result.
Definition:
time.h:34
gmtime_r
MEMSPACE tm_t * gmtime_r(time_t *t, tm_t *result)
Convert epoch GMT time_t *tp into POSIX tm_t *result.
Definition:
time.c:456
Generated on Wed Apr 13 2022 21:56:48 for HP85 GPIB Disk Emulator by
1.8.17