source: trunk/src/opengl/glide/swlibs/fxmisc/fxos.h

Last change on this file was 2887, checked in by sandervl, 26 years ago

Created swlibs dir

File size: 1.4 KB
Line 
1/*
2** THIS SOFTWARE IS SUBJECT TO COPYRIGHT PROTECTION AND IS OFFERED ONLY
3** PURSUANT TO THE 3DFX GLIDE GENERAL PUBLIC LICENSE. THERE IS NO RIGHT
4** TO USE THE GLIDE TRADEMARK WITHOUT PRIOR WRITTEN PERMISSION OF 3DFX
5** INTERACTIVE, INC. A COPY OF THIS LICENSE MAY BE OBTAINED FROM THE
6** DISTRIBUTOR OR BY CONTACTING 3DFX INTERACTIVE INC(info@3dfx.com).
7** THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
8** EXPRESSED OR IMPLIED. SEE THE 3DFX GLIDE GENERAL PUBLIC LICENSE FOR A
9** FULL TEXT OF THE NON-WARRANTY PROVISIONS.
10**
11** USE, DUPLICATION OR DISCLOSURE BY THE GOVERNMENT IS SUBJECT TO
12** RESTRICTIONS AS SET FORTH IN SUBDIVISION (C)(1)(II) OF THE RIGHTS IN
13** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 252.227-7013,
14** AND/OR IN SIMILAR OR SUCCESSOR CLAUSES IN THE FAR, DOD OR NASA FAR
15** SUPPLEMENT. UNPUBLISHED RIGHTS RESERVED UNDER THE COPYRIGHT LAWS OF
16** THE UNITED STATES.
17**
18** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
19**
20** $ Revision: $
21** $ Date: $
22**
23*/
24
25
26#ifndef _FXOS_H_
27#define _FXOS_H_
28
29#include <stdio.h>
30
31# ifdef __cplusplus
32extern "C" {
33# endif
34
35# ifdef WIN32
36void sleep(int secs);
37#define gethostname fxGethostname
38
39int gethostname(char *name, int namelen);
40
41# endif
42
43float fxTime(void);
44float timer(int flag);
45
46FILE *fxFopenPath(const char *filename, const char *mode,
47 const char *path, const char **pprefix);
48
49# ifdef __cplusplus
50}
51# endif
52
53#endif
Note: See TracBrowser for help on using the repository browser.