guenther
b34242015e
Switch login(3) from lseek+read/write to pread/pwrite and only do the pread()
if the data is needed. Use O_CLOEXEC on the internal fd as MT paranoia. Fix cast in offset calculation; delete register keyword; prefer memset() over bzero() ok millert@ |
9 years ago | |
---|---|---|
src | Switch login(3) from lseek+read/write to pread/pwrite and only do the pread() | 9 years ago |