source: trunk/kernel/syscalls/shared_include/shared_stdlib.h @ 459

Last change on this file since 459 was 445, checked in by alain, 6 years ago

Restructure the mini_libc.

File size: 1.3 KB
Line 
1/*
2 + shared_stdlib.h - Shared mnemonics used by the <stdlib.h> user library.
3 * Author  Alain Greiner (2016,2017,2018)
4 *
5 * Copyright (c) UPMC Sorbonne Universites
6 *
7 * This file is part of ALMOS-MKH.
8 *
9 * ALMOS-MKH is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; version 2.0 of the License.
12 *
13 * ALMOS-MKH is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with ALMOS-MKH; if not, write to the Free Software Foundation,
20 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22
23#ifndef _SHARED_STDLIB_H_
24#define _SHARED_STDLIB_H_
25
26/*******************************************************************************************
27 * This enum defines the supported terminaison status values for the exit() syscall.
28 ******************************************************************************************/
29
30typedef enum
31{
32        EXIT_SUCCESS,
33        EXIT_FAILURE,
34} 
35exit_statut_t;
36
37
38#define   RAND_MAX   65535
39
40#ifndef NULL
41#define  NULL  (void *)0
42#endif
43
44#endif
Note: See TracBrowser for help on using the repository browser.