Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F1702205
strchrnul.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
297 B
Referenced Files
None
Subscribers
None
strchrnul.c
View Options
#include <crm_internal.h>
/* Borrowed from gnulib's strchrnul.c under GLPv2+ */
#include <string.h>
/* Find the first occurrence of C in S or the final NUL byte. */
char *
strchrnul(const char *s, int c_in)
{
char c = c_in;
while (*s && (*s != c))
s++;
return (char *)s;
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Tue, Oct 29, 9:14 PM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
905076
Default Alt Text
strchrnul.c (297 B)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment