1 /* 2 * Copyright (c) 2006-2023, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2023/06/08 Bernard Add macro definition for `#pragma once` 9 */ 10 11 #ifndef UNISTD_H__ 12 #define UNISTD_H__ 13 14 #include "sys/unistd.h" 15 16 #ifndef F_OK 17 #define F_OK 0 18 #endif 19 20 #ifndef R_OK 21 #define R_OK 4 22 #endif 23 24 #ifndef W_OK 25 #define W_OK 2 26 #endif 27 28 #ifndef X_OK 29 #define X_OK 1 30 #endif 31 32 #endif /* UNISTD_H__ */ 33