Make fwrite return 0 on EOF
[glibc.git] / bits / xtitypes.h
blob2a328d395013a3540454bcedd21be37086ffe969
1 /* bits/xtitypes.h -- Define some types used by <bits/stropts.h>. Generic.
2 Copyright (C) 2002 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
19 #ifndef _STROPTS_H
20 # error "Never include <bits/xtitypes.h> directly; use <stropts.h> instead."
21 #endif
23 #ifndef _BITS_XTITYPES_H
24 #define _BITS_XTITYPES_H 1
26 #include <bits/types.h>
28 /* This type is used by some structs in <bits/stropts.h>. */
29 typedef __SLONGWORD_TYPE __t_scalar_t;
30 typedef __ULONGWORD_TYPE __t_uscalar_t;
33 #endif /* bits/xtitypes.h */