By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,562 Members | 1,223 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,562 IT Pros & Developers. It's quick & easy.

Re: in strspn(): what "spn" stands for?

P: n/a
regis wrote:
>
Does somebody here know what "spn" stands for
in the name of the function strspn() ?
Why don't you read the documentation (or source) from whomever
supplied you that (non-standard) function?

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.

** Posted from http://www.teranews.com **
Jun 27 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
CBFalconer said:
regis wrote:
>>
Does somebody here know what "spn" stands for
in the name of the function strspn() ?

Why don't you read the documentation (or source) from whomever
supplied you that (non-standard) function?
What non-standard function?

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Jun 27 '08 #2

P: n/a
On Wed, 28 May 2008 09:01:32 -0400, CBFalconer wrote:
regis wrote:
>Does somebody here know what "spn" stands for in the name of the
function strspn() ?

Why don't you read the documentation (or source) from whomever supplied
you that (non-standard) function?
strspn was part of the original C standard, and is part of the current C
standard. <OTAnd if you have trouble understanding when "whom" is
appropriate, please just avoid it, at least until you figure it out.
Jun 27 '08 #3

P: n/a
In article <48***************@yahoo.com>,
CBFalconer <cb********@maineline.netwrote:
>regis wrote:
>>
Does somebody here know what "spn" stands for
in the name of the function strspn() ?

Why don't you read the documentation (or source) from whomever
supplied you that (non-standard) function?
# 7.21.5.6 The strspn function
#
# Synopsis
#
# [#1]
#
# #include <string.h>
# size_t strspn(const char *s1, const char *s2);
#
# Description
#
# [#2] The strspn function computes the length of the maximum
# initial segment of the string pointed to by s1 which
# consists entirely of characters from the string pointed to
# by s2.
#
# Returns
#
# [#3] The strspn function returns the length of the segment.

I don't see any description of what "spn" means in there.
dave

--
Dave Vandervies dj3vande at eskimo dot com
I think it's obvious that pretty != fit for purpose. Except that, I suppose,
in this case pretty *is* the purpose, and rideability is relatively
unimportant. --Eric Schwartz in the scary devil monastery
Jun 27 '08 #4

P: n/a
Richard Heathfield wrote:
CBFalconer said:
>regis wrote:
>>>
Does somebody here know what "spn" stands for
in the name of the function strspn() ?

Why don't you read the documentation (or source) from whomever
supplied you that (non-standard) function?

What non-standard function?
Woops - goofed and missed it. Kill my comment.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
** Posted from http://www.teranews.com **
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.