mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 02:19:15 +00:00
refactor(userspace): build using cmake
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -15,8 +15,8 @@
|
||||
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __FENNIX_API_SYSCALLS_LIST_H__
|
||||
#define __FENNIX_API_SYSCALLS_LIST_H__
|
||||
#ifndef __FENNIX_API_SYSTEM_CALLS_LIST_H__
|
||||
#define __FENNIX_API_SYSTEM_CALLS_LIST_H__
|
||||
|
||||
#pragma region Syscall Wrappers
|
||||
|
||||
@ -1809,4 +1809,4 @@ typedef enum
|
||||
/** @copydoc SYS_UNAME */
|
||||
#define call_uname(buf) syscall1(SYS_UNAME, (scarg)buf)
|
||||
|
||||
#endif // !__FENNIX_API_SYSCALLS_LIST_H__
|
||||
#endif // !__FENNIX_API_SYSTEM_CALLS_LIST_H__
|
||||
|
@ -20,4 +20,18 @@
|
||||
|
||||
#include <interface/errno.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
int *__errno_location(void) __attribute__((const));
|
||||
char *strerror(int errnum);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define errno (*__errno_location())
|
||||
|
||||
#endif // !__FENNIX_KERNEL_STD_ERRNO_H__
|
||||
|
Reference in New Issue
Block a user