]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Note that strdup(3) will set errno if memory allocation fails. This
authormike <mike@FreeBSD.org>
Sun, 23 Sep 2001 00:37:42 +0000 (00:37 +0000)
committermike <mike@FreeBSD.org>
Sun, 23 Sep 2001 00:37:42 +0000 (00:37 +0000)
commit393333febcecdc8049bd3c7c6f9aac75c3563226
tree0e2a5078592d928f200d3c824f0a75d96ecbd9c9
parentb5432869303b965254810833060326a47e9bb48f
Note that strdup(3) will set errno if memory allocation fails.  This
is also required by the forthcoming POSIX.1-200x standard.

Obtained from: malloc.3
lib/libc/string/strdup.3