synopsis / example from libc that isn't confusingly already a perl builtin