STRPBRK(9) Basic C Library Functions STRPBRK(9)NAME
strpbrk - Find the first occurrence of a set of characters
char * strpbrk(const char * cs, const char * ct);
The string to be searched
The characters to search for
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 STRPBRK(9)
When Iam running c program in redhat linux 7.3 version and PCQ Linux 8.0 version, its taking around 20 seconds. But when Iam running it in HP-UX Release 11i, its taking around 3 minutes. Can anyone throw light on this.
Thanks in advance,
Praveen. (11 Replies)
I wrote a small subroutine 'GetStringDelim()' to return a substring from a string enclosed by a string 'Limit1' and a char 'Limit2'. It works perfectly and I don't get an error message together with valgrind, if I set the 3rd parameter in GetStringDelim() to NULL (see below).
... (3 Replies)
I am trying to fetch some values from db and spooling the output to a file.
when i query the db for the values, i get the values in following format.
PC_1 wf_test1 Test
PC_2 wf_test2 Test
PC_3 wf_test3 Test
But my spool file was created in following format.
Test... (20 Replies)
Hi I have a string like
"12;13;14|aa = 14;bb = 15"
I have to store the values 12,13 and 14 in a list.
and aa,bb in another list.
Can anyone suggest me how to perform this in c++?
Use code tags please, see PM. (2 Replies)
I've been having problems lately trying to do pattern matching in C while implementing wildcards. Take for instance the following code:
#include <string.h> ... (14 Replies)