Article View: be.comp.programming
Article #17100Strstrs function problem
From: The Incubus
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
19 lines
1170 bytes
1170 bytes
Hi, I got a problem with the strstr() function. I am writing a proggie in Linux.. I'll explain the prob; strstr(buffer,"blablabla") is what I got in my code, now how can I find out what's behind that "blablabla"? What does strstr return? Is it the place (like in a pointer) where the blablabla is, or the number of times blablabla is found in uffer[ ]... I've tried man strstr but it doesn't actually gives me an answer -- The Incubus http://www.securax.org/incubus requirements: Win98 or better. So I installed linux.
Technical Details
Message-ID:
<bVYr4.37062$2v4.67196@afrodite.telenet-ops.be>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcea4,1d75c51a82fe1c2d,start X-Google-Attributes: gidfcea4,public From: "The Incubus" <incubus@securax.org> Subject: Strstrs function problem Date: 2000/02/20 Message-ID: <bVYr4.37062$2v4.67196@afrodite.telenet-ops.be> X-Deja-AN: 587662797 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@pandora.be X-Trace: afrodite.telenet-ops.be 951081671 212.123.25.75 (Sun, 20 Feb 2000 22:21:11 MET) Organization: Pandora-- Met vlotte tred op Internet NNTP-Posting-Date: Sun, 20 Feb 2000 22:21:11 MET Newsgroups: be.comp.programming