X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=ntoskrnl%2Frtl%2Fstdlib.c;fp=ntoskrnl%2Frtl%2Fstdlib.c;h=5434f96c372d7598de64dede11ff44c4e7294d20;hp=97f36449a0205c1530ea9251c9a8bb4d9987b63e;hb=a3df8bf1429570e0bd6c6428f6ed80073578cf4b;hpb=7c0db166f81fbe8c8b913d7f26048e337d383605 diff --git a/ntoskrnl/rtl/stdlib.c b/ntoskrnl/rtl/stdlib.c index 97f3644..5434f96 100644 --- a/ntoskrnl/rtl/stdlib.c +++ b/ntoskrnl/rtl/stdlib.c @@ -31,8 +31,9 @@ int atoi(const char *str) /* * NOTE: no error + * + * @implemented */ - long atol(const char *str) { const char *s = str; @@ -105,6 +106,8 @@ long atol(const char *str) /* * NOTE: no radix range check (valid range: 2 - 36) + * + * @implemented */ char *_itoa (int value, char *string, int radix) @@ -146,6 +149,9 @@ char *_itoa (int value, char *string, int radix) } +/* + * @implemented + */ int rand(void) { next = next * 0x5deece66dLL + 11; @@ -153,12 +159,18 @@ int rand(void) } +/* + * @implemented + */ void srand(unsigned seed) { next = seed; } +/* + * @implemented + */ int mbtowc (wchar_t *wchar, const char *mbchar, size_t count) { NTSTATUS Status; @@ -179,6 +191,9 @@ int mbtowc (wchar_t *wchar, const char *mbchar, size_t count) } +/* + * @implemented + */ size_t mbstowcs (wchar_t *wcstr, const char *mbstr, size_t count) { NTSTATUS Status; @@ -208,6 +223,9 @@ size_t mbstowcs (wchar_t *wcstr, const char *mbstr, size_t count) } +/* + * @implemented + */ int wctomb (char *mbchar, wchar_t wchar) { NTSTATUS Status; @@ -228,6 +246,9 @@ int wctomb (char *mbchar, wchar_t wchar) } +/* + * @implemented + */ size_t wcstombs (char *mbstr, const wchar_t *wcstr, size_t count) { NTSTATUS Status;