blob: 36eb960b09784f12013d34d9b28a16d2a4e1c296 [file] [log] [blame]
Rich Felker0b44a032011-02-12 00:22:29 -05001#include <stdlib.h>
2
3ldiv_t ldiv(long num, long den)
4{
5 return (ldiv_t){ num/den, num%den };
6}