~mysql/mysql-server/mysql-6.0

« back to all changes in this revision

Viewing changes to mit-pthreads/machdep/sco-3.2v5/__stdio.h

  • Committer: bk at mysql
  • Date: 2000-07-31 19:29:14 UTC
  • Revision ID: sp1r-bk@work.mysql.com-20000731192914-08846
Import changeset

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright 1994-1995 The Santa Cruz Operation, Inc. All Rights Reserved. */
 
2
 
 
3
 
 
4
#if defined(_NO_PROTOTYPE)      /* Old, crufty environment */
 
5
#include <oldstyle/__stdio.h>
 
6
#elif defined(_XOPEN_SOURCE) || defined(_XPG4_VERS)     /* Xpg4 environment */
 
7
#include <xpg4/__stdio.h>
 
8
#elif defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) /* Posix environment */
 
9
#include <posix/__stdio.h>
 
10
#elif _STRICT_ANSI      /* Pure Ansi/ISO environment */
 
11
#include <ansi/__stdio.h>
 
12
#elif defined(_SCO_ODS_30) /* Old, Tbird compatible environment */
 
13
#include <ods_30_compat/__stdio.h>
 
14
#else   /* Normal, default environment */
 
15
/*
 
16
 *   Portions Copyright (C) 1984-1995 The Santa Cruz Operation, Inc.
 
17
 *              All Rights Reserved.
 
18
 *
 
19
 *      The information in this file is provided for the exclusive use of
 
20
 *      the licensees of The Santa Cruz Operation, Inc.  Such users have the
 
21
 *      right to use, modify, and incorporate this code into other products
 
22
 *      for purposes authorized by the license agreement provided they include
 
23
 *      this notice and the associated copyright notice with any such product.
 
24
 *      The information in this file is provided "AS IS" without warranty.
 
25
 */
 
26
 
 
27
/*      Portions Copyright (c) 1990, 1991, 1992, 1993 UNIX System Laboratories, Inc. */
 
28
/*      Portions Copyright (c) 1979 - 1990 AT&T   */
 
29
/*        All Rights Reserved   */
 
30
 
 
31
/*      THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF          */
 
32
/*      UNIX System Laboratories, Inc.                          */
 
33
/*      The copyright notice above does not evidence any        */
 
34
/*      actual or intended publication of such source code.     */
 
35
 
 
36
#ifndef ___STDIO_H
 
37
#define ___STDIO_H
 
38
 
 
39
#pragma comment(exestr, "xpg4plus @(#) stdio.h 20.1 94/12/04 ")
 
40
 
 
41
#pragma pack(4)
 
42
 
 
43
#ifdef __cplusplus
 
44
extern "C" {
 
45
#endif
 
46
 
 
47
#ifndef _SIZE_T
 
48
#define _SIZE_T
 
49
typedef unsigned int    size_t;
 
50
#endif
 
51
 
 
52
#ifndef _FPOS_T
 
53
#define _FPOS_T
 
54
typedef long    fpos_t;
 
55
#endif
 
56
 
 
57
#ifndef _WCHAR_T
 
58
#define _WCHAR_T
 
59
typedef long    wchar_t;
 
60
#endif
 
61
 
 
62
#ifndef _WINT_T
 
63
#define _WINT_T
 
64
typedef long    wint_t;
 
65
#endif
 
66
 
 
67
#ifndef NULL
 
68
#define NULL    0
 
69
#endif /* NULL */
 
70
 
 
71
#ifndef EOF
 
72
#define EOF     (-1)
 
73
#endif
 
74
 
 
75
#define SEEK_SET        0
 
76
#define SEEK_CUR        1
 
77
#define SEEK_END        2
 
78
 
 
79
#ifndef TMP_MAX
 
80
#define TMP_MAX         17576   /* 26 * 26 * 26  */
 
81
#endif
 
82
 
 
83
#define BUFSIZ          1024    /* default buffer size  */
 
84
 
 
85
 
 
86
#define _IOEOF          0020    /* EOF reached on read  */
 
87
#define _IOERR          0040    /* I/O error from system  */
 
88
 
 
89
#define _IOREAD         0001    /* currently reading  */
 
90
#define _IOWRT          0002    /* currently writing  */
 
91
#define _IORW           0200    /* opened for reading and writing  */
 
92
#define _IOMYBUF        0010    /* stdio malloc()'d buffer  */
 
93
 
 
94
#define _SBFSIZ         8
 
95
 
 
96
#define L_cuserid       9
 
97
 
 
98
/* Non name space polluting version of above */
 
99
#define _P_tmpdir "/usr/tmp/"
 
100
 
 
101
#ifndef _VA_LIST
 
102
#define _VA_LIST char *
 
103
#endif
 
104
 
 
105
 
 
106
#ifdef __cplusplus
 
107
}
 
108
#endif
 
109
 
 
110
#pragma pack()
 
111
 
 
112
#endif /* ___STDIO_H */
 
113
#endif