mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
parent
cf73bbd678
commit
dd9ab01d25
13 changed files with 484 additions and 544 deletions
|
@ -37,10 +37,10 @@ Copyright 2005-2019 Rich Felker, et. al.\"");
|
|||
asm(".include \"libc/disclaimer.inc\"");
|
||||
|
||||
char *strptime(const char *s, const char *f, struct tm *tm) {
|
||||
size_t len;
|
||||
int i, w, neg, adj, min, range, itemsize, *dest, dummy;
|
||||
const char *ex, *ss;
|
||||
long i, w, neg, adj, min, range, itemsize, *dest, dummy;
|
||||
long want_century = 0, century = 0, relyear = 0;
|
||||
size_t len;
|
||||
int want_century = 0, century = 0, relyear = 0;
|
||||
while (*f) {
|
||||
if (*f != '%') {
|
||||
if (isspace(*f)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue