Changeset 445 for trunk/libs/mini-libc/stdlib.h
- Timestamp:
- May 29, 2018, 9:27:23 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libs/mini-libc/stdlib.h
r444 r445 1 1 /* 2 * stdlib.h - User level library definition.2 * stdlib.h - User level <stdlib> library definition. 3 3 * 4 4 * Author Alain Greiner (2016,2017) … … 25 25 #define _STDLIB_H 26 26 27 #include <almos-mkh/stdlib.h> 27 /***************************************************************************************** 28 * This file defines the user side <stdlib> library. 29 * Some functions make a system call to access the kernel VFS. 30 * The user/kernel shared structures and mnemonics are defined in 31 * the <syscalls/shared_include/shared_fcntl.h> file. 32 ****************************************************************************************/ 33 34 #include <shared_stdlib.h> 28 35 29 36 /***************************************************************************************** … … 34 41 void exit( int status ); 35 42 43 /********************************************************************************************* 44 * This function translates an ascii character string to an integer value. 45 ********************************************************************************************* 46 * @ str : pointer on charactter string. 47 * @ return an integer value. 48 ********************************************************************************************/ 49 int atoi(const char * str ); 36 50 37 51 /********************************************************************************************* 38 * This function TODO52 * This function translates an ascii character string to a float value. 39 53 ********************************************************************************************* 54 * @ str : pointer on charactter string. 55 * @ return a double value. 40 56 ********************************************************************************************/ 41 int atoi(const char *str); 42 43 /********************************************************************************************* 44 * This function TODO 45 ********************************************************************************************* 46 ********************************************************************************************/ 47 double atof(const char *str); 57 double atof(const char * str ); 48 58 49 59 /********************************************************************************************* … … 72 82 ****************************************************************************************/ 73 83 void * malloc( unsigned int size ); 74 75 84 76 85 /***************************************************************************************** … … 109 118 void * calloc( unsigned int count, 110 119 unsigned int size ); 120 111 121 #endif // _STDLIB_H_
Note: See TracChangeset
for help on using the changeset viewer.