362:39cef8f37eb5 | 363:8175ba2b3bcb |
---|---|
68 return string; | 68 return string; |
69 } | 69 } |
70 | 70 |
71 | 71 |
72 size_t scstrnlen(size_t n, ...) { | 72 size_t scstrnlen(size_t n, ...) { |
73 if (n == 0) return 0; | |
74 | |
73 va_list ap; | 75 va_list ap; |
74 va_start(ap, n); | 76 va_start(ap, n); |
75 | 77 |
76 size_t size = 0; | 78 size_t size = 0; |
77 | 79 |