[ ] Friday, 7 November 2014 [ ]

gets

gets was removed from the OpenBSD stdio.h library - which was causing me some headaches as man 3 gets was still returning the man page. The solution was using fgets:

fgets(input, sizeof(input), stdin);

c


$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $