diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-20 10:21:56 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-20 10:21:56 +0100 |
| commit | eced0b64537b0f2da4fedeb597c8d194eb8acc76 (patch) | |
| tree | db9b1d1082d0d5e82f52c1b59a2ba960fb5991ed /src/libPOSIXWrapper/POSIXKit/unistd.h | |
| parent | 66617026146e24f7a38b0f1c952601f4442dceaa (diff) | |
[FEAT] PThread and POSIXKit separation.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/libPOSIXWrapper/POSIXKit/unistd.h')
| -rw-r--r-- | src/libPOSIXWrapper/POSIXKit/unistd.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/libPOSIXWrapper/POSIXKit/unistd.h b/src/libPOSIXWrapper/POSIXKit/unistd.h index 0e133c89..96701f35 100644 --- a/src/libPOSIXWrapper/POSIXKit/unistd.h +++ b/src/libPOSIXWrapper/POSIXKit/unistd.h @@ -3,19 +3,6 @@ // Licensed under the Apache License, Version 2.0 (see LICENSE file) // Official repository: https://github.com/ne-foss-org/nekernel -#ifndef LIBPOSIX_POSIXKIT_UNISTD_H -#define LIBPOSIX_POSIXKIT_UNISTD_H +#pragma once -#include <libSystem/SystemKit/System.h> - -/// @file Unistd.h -/// @brief POSIX Standard Header for NeKernel. - -#define _POSIX_SOURCE __POSIX_SOURCE__ -#define _XOPEN_SOURCE __XOPEN_SOURCE__ - -IMPORT_C SInt64 write(SizeT count, SInt32 fd, Void* data, SizeT sz); - -IMPORT_C SInt64 read(SizeT count, SInt32 fd, Void* data, SizeT sz); - -#endif // LIBPOSIX_POSIXKIT_UNISTD_H +#include <libPOSIXWrapper/POSIXKit/POSIX.h> |
