1/* _PDCLIB_c32slen( const char32_t * ); 2 3 This file is part of the Public Domain C Library (PDCLib). 4 Permission is granted to use, modify, and / or redistribute at will. 5*/ 6 7#ifndef REGTEST 8#include <uchar.h> 9 10size_t _PDCLIB_c32slen( const char32_t * str ) 11{ 12 size_t n = 0; 13 while(*(str++)) n++; 14 return n; 15} 16 17 18#endif 19 20#ifdef TEST 21#include "_PDCLIB_test.h" 22 23int main( void ) 24{ 25 return TEST_RESULTS; 26} 27 28#endif 29 30