On Sun, Jul 23 2017, Ingo Schwarze <[email protected]> wrote: > Hi Jeremie, > > Jeremie Courreges-Anglas wrote on Sun, Jul 23, 2017 at 12:43:14AM +0200: > >> getline(3) and perror(3) are in posix, but fgetln(3) and err(3) come >> from 4.4BSD (according to their manpage). We should probably keep the >> example code posix-compliant. > > Paul Janzen asked me the same question in private mail, > and i answered as follows:
[snip] > (6) We already use err(3) in getopt(3), malloc(3), strdup(3), > wcsdup(3), which are all POSIX. Well I guess my objection doesn't stand, then. :) -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
