mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-02 17:28:30 +00:00
parent
e26bdbec52
commit
f064183646
48 changed files with 1034 additions and 921 deletions
|
@ -17,10 +17,8 @@
|
|||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/fmt/conv.h"
|
||||
#include "libc/fmt/wcslol.internal.h"
|
||||
#include "libc/limits.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
long wcstol(const wchar_t *s, wchar_t **end, int opt_base) {
|
||||
return WCSLOL(s, end, opt_base, LONG_MIN, LONG_MAX);
|
||||
return wcstoimax(s, end, opt_base);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue