aboutsummaryrefslogtreecommitdiffstats
path: root/sdk/std/files.h
blob: 84ad33af4768f84a86a1861aab5ace7c826096b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
 * Portable support for file manipulation and access related functions.
 * $Id$
 * Copyright (c) 1997 by Tycho Softworks.
 * For conditions of distribution and reuse see product license.
 */

#ifndef	__STD_FILES_H__
#define	__STD_FILES_H__

#ifndef	__STD_TYPES_H__
#include <std/types.h>
#endif

#include <stdio.h>
#include <sys/stat.h>

#ifndef	UNISTD_H_MISSING
#include <unistd.h>
#endif

#ifndef	SYS_FCNTL_H_MISSING
#include <sys/fcntl.h>
#else
#ifndef	FCNTL_H_MISSING
#include <fcntl.h>
#endif
#endif

#ifndef IO_H_MISSING
#include <io.h>
#endif

#ifndef	__STD_TYPES_H__
#include <std/types.h>
#endif


#ifdef	OFF_T_MISSING
typedef	long	off_t;
#endif

#ifdef	FD_T_MISSING
typedef	int	fd_t;
#endif

#endif