HelenOS sources

ldiv              107 common/include/stdlib.h extern ldiv_t ldiv(long, long);
ldiv              107 kernel/generic/common/include/stdlib.h extern ldiv_t ldiv(long, long);
ldiv              107 uspace/lib/c/common/include/stdlib.h extern ldiv_t ldiv(long, long);
ldiv              327 uspace/lib/c/test/stdlib.c 	d = ldiv(41, 7);
ldiv              107 uspace/lib/posix/include/common/stdlib.h extern ldiv_t ldiv(long, long);
HelenOS homepage, sources at GitHub