Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/string/README
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Don't use some libc functions without Really Good Reasons:

<stdio.h>
asprintf(3)
Use aprintf() instead.
Use aprintf(3) instead.
It is difficult to handle errors after asprintf(3).
Also, it makes it more difficult for static analyzers to check
that memory is later free(3)d appropriately.
Expand Down Expand Up @@ -209,7 +209,7 @@ strcpy/ - String copying

sprintf/ - Formatted string creation

aprintf()
aprintf(3)
sprintf(3) variant that allocates.
It has better interface than asprintf(3).

Expand Down
Loading