[ ] 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.40 2026/04/05 01:05:38 fred Exp $