Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
PAS.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
3// Licensed under the Apache License, Version 2.0 (see LICENSE file)
4// Official repository: https://github.com/ne-app-eu/src
5
6#ifndef _NE_POSIX_SUBSYSTEM_H_
7#define _NE_POSIX_SUBSYSTEM_H_
8
9#ifndef _PAS
10#define _PAS (202608L)
11#endif
12
14#include <Ne/System/CAS.h>
15
16#include <POSIXKit/POSIX.h>
17#include <POSIXKit/unistd.h>
18#include <PThreadKit/pthread.h>
19#include <PThreadKit/Thread.h>
20
21#ifndef __IDSTRING
22#define __IDSTRING(name, string) STATIC const Char name[] __attribute__((unused)) = string
23#endif
24
25#ifndef __COPYRIGHT
26#define __COPYRIGHT(s) __IDSTRING(copyright, s)
27#endif // ifndef __COPYRIGHT
28
31IMPORT_C VoidPtr PasSbrk(SizeT sz, SInt32 flags);
32
34IMPORT_C Void PasSbrkDestroy(VoidPtr, SInt32 zero_out);
35
36#endif
#define sz
Definition 17.names.cpp:550
#define flags
IMPORT_C VoidPtr PasSbrk(SizeT sz, SInt32 flags)
IMPORT_C Void PasSbrkDestroy(VoidPtr, SInt32 zero_out)