tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: adding getdelim(3) and getline(3) to libc



Hello,

Roy Marples <roy%marples.name@localhost> wrote:
> Our libc lacks getdelim(3) and getline(3) which are in POSIX IEEE Std 
> 1003.1-2008
> http://www.opengroup.org/onlinepubs/9699919799/functions/getline.html
> 
> Attached is patch to add these fucntions and man page to our libc.
> I've not extensively tested it, but it seems to work fine.

From quick glance, it seems that new POSIX getline() duplicates the old
BSD fgetln() functionality. Have you considered merging/sharing of code?

Thanks for working on this.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index