diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-10-07 23:18:06 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-10-07 23:19:39 +0200 |
commit | 4ae70721aae5f974538928cadc71fa3269e5ad20 (patch) | |
tree | a74c75aebd2d43bdae2ae3bb323981d943274e9f /lib/math.c | |
parent | f8e00b4b83dad76e183b8293870cfe3110f1fa94 (diff) |
fs: use `getline()` for line wise read operations
Use `getline()` instead of a custom `fgets()` wrapper logic to perform
line wise reads from open file handles. This is required to properly
deal with lines containing embedded null bytes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib/math.c')
0 files changed, 0 insertions, 0 deletions