summaryrefslogtreecommitdiff
path: root/src/lib/libssl/man/SSL_get_error.3
diff options
context:
space:
mode:
authorschwarze <>2025-05-27 12:40:37 +0000
committerschwarze <>2025-05-27 12:40:37 +0000
commit96e3ac7e0e578559ab5be5b73c15e2a15f043994 (patch)
treee10609633c9661306371ef9a8817c35487ce13b5 /src/lib/libssl/man/SSL_get_error.3
parent01105d6b069e4487ba98919cf479be7cdc0526a2 (diff)
downloadopenbsd-96e3ac7e0e578559ab5be5b73c15e2a15f043994.tar.gz
openbsd-96e3ac7e0e578559ab5be5b73c15e2a15f043994.tar.bz2
openbsd-96e3ac7e0e578559ab5be5b73c15e2a15f043994.zip
Delete bad advice about abusing malloc_options = "X" as a production
feature to terminate the program when out of memory. Application code should always handle failure of library functions properly. So if you want your program to terminate, write something like | p = malloc(...); | if (p == NULL) | err(1, NULL); and don't abuse malloc_options. Direction suggested by otto@ after anton@ pointed out that this very old text still used an outdated data type for malloc_options and potentially failed to define its value at compile time. OK otto@
Diffstat (limited to 'src/lib/libssl/man/SSL_get_error.3')
0 files changed, 0 insertions, 0 deletions