rt-thread/components/libc/compilers/common/include/unistd.h

33 lines
464 B
C
Raw Normal View History

2018-10-14 19:28:18 +08:00
/*
2023-06-10 21:35:25 +08:00
* Copyright (c) 2006-2023, RT-Thread Development Team
2018-10-14 19:28:18 +08:00
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
2023-06-10 21:35:25 +08:00
* 2023/06/08 Bernard Add macro definition for `#pragma once`
2018-10-14 19:28:18 +08:00
*/
2023-06-10 21:35:25 +08:00
#ifndef UNISTD_H__
#define UNISTD_H__
#include "sys/unistd.h"
2023-06-10 21:35:25 +08:00
#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__ */