The text 9f6e5f11b9fd, as FreeBSD 7.1-RELEASE shipped it.
get a line from a stream
gets(3) on FreeBSD now