minor corrections by M.Taguchi
[reactos.git] / posix / include / psx / errno.h
1 /* $Id: errno.h,v 1.4 2002/10/29 04:45:13 rex Exp $
2 */
3 /*
4 * psx/errno.h
5 *
6 * internal errno.h
7 *
8 * This file is part of the ReactOS Operating System.
9 *
10 * Contributors:
11 * Created by KJK::Hyperion <noog@libero.it>
12 *
13 * THIS SOFTWARE IS NOT COPYRIGHTED
14 *
15 * This source code is offered for use in the public domain. You may
16 * use, modify or distribute it freely.
17 *
18 * This code is distributed in the hope that it will be useful but
19 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
20 * DISCLAMED. This includes but is not limited to warranties of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22 *
23 */
24 #ifndef __PSX_ERRNO_H_INCLUDED__
25 #define __PSX_ERRNO_H_INCLUDED__
26
27 /* INCLUDES */
28 #include <errno.h>
29
30 /* OBJECTS */
31
32 /* TYPES */
33
34 /* CONSTANTS */
35
36 /* PROTOTYPES */
37
38 /* MACROS */
39 #define __status_to_errno(s) (s)
40 #define __set_errno_from_status(s) (errno = __status_to_errno((s)))
41
42 #endif /* __PSX_ERRNO_H_INCLUDED__ */
43
44 /* EOF */
45