summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strncpy.c
diff options
context:
space:
mode:
authorjsing <>2022-02-18 17:30:13 +0000
committerjsing <>2022-02-18 17:30:13 +0000
commit8a99d590553fa0c8387169b9ba29360c3a52dab8 (patch)
treeb2a0af2ad0615017288f9b467da71f7c2e8ab3c9 /src/lib/libc/string/strncpy.c
parenta72b3400b5022f9456bfb2f05ccf5d617c73fc62 (diff)
downloadopenbsd-8a99d590553fa0c8387169b9ba29360c3a52dab8.tar.gz
openbsd-8a99d590553fa0c8387169b9ba29360c3a52dab8.tar.bz2
openbsd-8a99d590553fa0c8387169b9ba29360c3a52dab8.zip
Clean up and simplify memory BIO code.
This is a first pass that uses sensible and consistent names for variables. Call the BIO 'bio' (instead of 'a', 'b', 'bp', or 'h'), drop a bunch of unnecessary casts, simplify some logic and add additional error checking. With input from and ok tb@
Diffstat (limited to 'src/lib/libc/string/strncpy.c')
0 files changed, 0 insertions, 0 deletions