summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/hcreate.3
diff options
context:
space:
mode:
authorschwarze <>2016-02-05 15:09:09 +0000
committerschwarze <>2016-02-05 15:09:09 +0000
commite4c0bcd220ad855573e4c0ced2e868becf4d563d (patch)
treefb6714c088979ae97bd92a5b71d9f3e70186b329 /src/lib/libc/stdlib/hcreate.3
parent225f1ee35564ab235a59d5bd45096011a51741cd (diff)
downloadopenbsd-e4c0bcd220ad855573e4c0ced2e868becf4d563d.tar.gz
openbsd-e4c0bcd220ad855573e4c0ced2e868becf4d563d.tar.bz2
openbsd-e4c0bcd220ad855573e4c0ced2e868becf4d563d.zip
Fix err(3) calls after allocation failures in examples.
There is long-standing consensus that err(1, NULL) is the best idiom after failure of malloc(3) and friends. Quirk in the manual noticed by tb@.
Diffstat (limited to 'src/lib/libc/stdlib/hcreate.3')
0 files changed, 0 insertions, 0 deletions