forked from shadow-maint/shadow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/: Treat strpbrk(3)'s return value as a boolean
with the meaning "a character was found". strpbrk(3) is just like strchr(3), but searches for multiple characters. Both functions have a boolean-like return value, which evaluates to true if a character was found. A better name for strpbrk(3) would have been strchrs(). Signed-off-by: Alejandro Colomar <[email protected]>
- Loading branch information
1 parent
915f7fc
commit 37771da
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters