summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/include/unistd.h
blob: 6a2173f7e26d02c7d1048ed1a8ce66d1eff3708a (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
/*
 * Copyright (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023/06/08     Bernard      Add macro definition for `#pragma once`
 */

#ifndef UNISTD_H__
#define UNISTD_H__

#include "sys/unistd.h"

#ifndef F_OK
#define	F_OK	0
#endif

#ifndef R_OK
#define	R_OK	4
#endif

#ifndef W_OK
#define	W_OK	2
#endif

#ifndef X_OK
#define	X_OK	1
#endif

#endif /* UNISTD_H__ */