C library routines for astronomical junk