[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: adding getdelim(3) and getline(3) to libc
Mindaugas Rasiukevicius wrote:
Roy Marples <roy%marples.name@localhost> wrote:
Our libc lacks getdelim(3) and getline(3) which are in POSIX IEEE Std
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?
Yes, fgetln could be re-tooled around getline.
I'd just have to check how fgetln handles it buffers as more locking
seems to happen there.
Main Index |
Thread Index |