port.h

ds2.10/fluffos-2.16-ds05/port.h · 432 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

#ifndef PORT_H
#define PORT_H

/*
 * port.c
 */
#ifndef _FUNC_SPEC_
long random_number (long);
long get_current_time (void);
const char *time_string (time_t);
void init_usec_clock (void);
void get_usec_clock (long *, long *);
int get_cpu_times (unsigned long *, unsigned long *);
char *get_current_dir (char *, int);
#ifdef DRAND48
double drand48 (void);
#endif
#ifndef HAS_STRERROR
char *port_strerror (int);
#endif
#endif

#endif

Site Stats

Snippets: 1791
Codebases: 571