HomeFreeBSD

Use SEEK_{SET,CUR,END} for file seek "whence"

Description

Use SEEK_{SET,CUR,END} for file seek "whence"

Use either SEEK_* or 0,1,2..., but not both.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #8656

Details

Provenance
kusumi.tomohiro_gmail.comAuthored on Apr 25 2019, 5:17 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 25 2019, 5:17 PM
Parents
rGf4c594da94d8: Fixes for the DMU free throttle
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG126d0fa7333c: Use SEEK_{SET,CUR,END} for file seek "whence" (authored by Tomohiro Kusumi <kusumi.tomohiro@gmail.com>).Apr 25 2019, 5:17 PM