24 lines
831 B
C
24 lines
831 B
C
// Copyright (c) 2025, Zak Fenton
|
|
// Zak Fenton's libc is licensed under the Mulan PSL v2. You can use this
|
|
// software according to the terms and conditions of the Mulan PSL v2.
|
|
// You may obtain a copy of Mulan PSL v2 at:
|
|
// http://license.coscl.org.cn/MulanPSL2
|
|
// THIS SOFTWARE IS PROVIDED ON AN “AS IS” BASIS, WITHOUT warranties of
|
|
// any kind, either express or implied, including but not limited to
|
|
// non-infringement, merchantability or fit for a particular purpose.
|
|
// See the Mulan PSL v2 for more details.
|
|
#ifndef _LIBC_SYSCALLS_H
|
|
#define _LIBC_SYSCALLS_H
|
|
#include <stdint.h>
|
|
|
|
// NOTE: This is NOT the definitive list of system calls, this is just any
|
|
// syscall definitions which didn't fit anywhere else!
|
|
|
|
// TODO: Add some platform-checking here
|
|
|
|
void* sbrk(int incr);
|
|
|
|
/* From ifndef at top of file: */
|
|
#endif
|
|
|