Parsing commandline arguments
This commit is contained in:
6
ulib/std/limits.h
Normal file
6
ulib/std/limits.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef ULIB_STD_LIMITS_H_
|
||||
#define ULIB_STD_LIMITS_H_
|
||||
|
||||
#include <machine/limits.h>
|
||||
|
||||
#endif // ULIB_STD_LIMITS_H_
|
17
ulib/std/stdlib.h
Normal file
17
ulib/std/stdlib.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef ULIB_STD_STDLIB_H_
|
||||
#define ULIB_STD_STDLIB_H_
|
||||
|
||||
#include <uprintf.h>
|
||||
#include <string/conv.h>
|
||||
|
||||
#define printf uprintf
|
||||
#define sprintf usprintf
|
||||
#define vsprintf uvsprintf
|
||||
#define snprintf usnprintf
|
||||
#define vsnprintf uvsnprintf
|
||||
#define vprintf uvprintf
|
||||
|
||||
#define strtoul string_conv_strtoul
|
||||
#define strtol string_conv_strtol
|
||||
|
||||
#endif // ULIB_STD_STDLIB_H_
|
17
ulib/std/string.h
Normal file
17
ulib/std/string.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef ULIB_STD_STRING_H_
|
||||
#define ULIB_STD_STRING_H_
|
||||
|
||||
#include <string/string.h>
|
||||
|
||||
#define memset string_memset
|
||||
#define memcpy string_memcpy
|
||||
#define strlen string_len
|
||||
#define memcmp string_memcmp
|
||||
#define strcmp string_strcmp
|
||||
#define strcspn string_strcspn
|
||||
#define strspn string_strspn
|
||||
#define strcpy string_strcpy
|
||||
#define strchr string_strchr
|
||||
#define strncmp string_strncmp
|
||||
|
||||
#endif // ULIB_STD_STRING_H_
|
Reference in New Issue
Block a user