Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F4525233
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
Thu, Jun 26, 6:10 PM (22 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1958599
Default Alt Text
strchrnul.c (297 B)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment