[OT?] Pronunciation of "strcpy"

  • Thread starter Joona I Palaste
  • Start date
J

Joona I Palaste

I was at the ESEC/FSE 2003 conference, and some people (American or
British or whatever) were giving a talk about their program which finds
buffer overflows in C code. Someone asked them a question about how they
detect buffer overflows in strcpy(). The person pronounced it something
like "stir-copy". Is this pronunciation often used? Are there others?

--
/-- Joona Palaste ([email protected]) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"I am looking for myself. Have you seen me somewhere?"
- Anon
 
J

Joona I Palaste

cody said:
"Str-Copy" or "String-Copy" as the name stands for that.

How exactly do you say the "Str-Copy" pronunciation? "Es Tee Ar Copy"?
"Struhcopy"? Or how?

--
/-- Joona Palaste ([email protected]) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"A friend of mine is into Voodoo Acupuncture. You don't have to go into her
office. You'll just be walking down the street and... ohh, that's much better!"
- Stephen Wright
 
B

Ben Pfaff

Joona I Palaste said:
I was at the ESEC/FSE 2003 conference, and some people (American or
British or whatever) were giving a talk about their program which finds
buffer overflows in C code. Someone asked them a question about how they
detect buffer overflows in strcpy(). The person pronounced it something
like "stir-copy". Is this pronunciation often used? Are there others?

In my experience, "stir" is a common way to pronounce "str".
Sometimes I say "string" instead, but "string copy" sounds more
like a generic operation name than the name of a specific
function.
 
M

Mike Wahler

Joona I Palaste said:
I was at the ESEC/FSE 2003 conference, and some people (American or
British or whatever) were giving a talk about their program which finds
buffer overflows in C code. Someone asked them a question about how they
detect buffer overflows in strcpy(). The person pronounced it something
like "stir-copy". Is this pronunciation often used? Are there others?

The bytes are copied by stirring electrons [1], so
it's pronounced "stir copy."

[1] Beware of using 'strcpy()' when the source and
destination areas overlap. This can make the stirring
action cause the electrons to get too close together,
possibly resulting in a nuclear explosion. This actually
might or might not happen, so the language just calls the
behavior 'undefined'.


-Mike
 
I

Irrwahn Grausewitz

Joona I Palaste said:
I was at the ESEC/FSE 2003 conference, and some people (American or
British or whatever) were giving a talk about their program which finds
buffer overflows in C code. Someone asked them a question about how they
detect buffer overflows in strcpy(). The person pronounced it something
like "stir-copy". Is this pronunciation often used? Are there others?

As for me, I just pronounce it "Str-Copy" - no vowels in the
"Str"-part; sounds a bit like Polish or Russian. :)

Or just "String-Copy", of course.

Irrwahn
 
C

cody

The bytes are copied by stirring electrons [1], so
it's pronounced "stir copy."

[1] Beware of using 'strcpy()' when the source and
destination areas overlap. This can make the stirring
action cause the electrons to get too close together,
possibly resulting in a nuclear explosion. This actually
might or might not happen, so the language just calls the
behavior 'undefined'.


muharhar :)
 
R

Richard Heathfield

Joona said:
I was at the ESEC/FSE 2003 conference, and some people (American or
British or whatever) were giving a talk about their program which finds
buffer overflows in C code. Someone asked them a question about how they
detect buffer overflows in strcpy(). The person pronounced it something
like "stir-copy". Is this pronunciation often used? Are there others?

I pronounce strcpy like this: strcpy

That is, "str" as in "string without the ing", and "cpy" as a hard c sound
followed by the "py" sound that you get in "copy". No "o" sound.

In other words, I pronounce it just as it is spelt. I concede that
introducing a short 'o' would do little or no damage to comprehension.
 
J

Josh Sebastian

I pronounce strcpy like this: strcpy

That is, "str" as in "string without the ing", and "cpy" as a hard c sound
followed by the "py" sound that you get in "copy". No "o" sound.

In other words, I pronounce it just as it is spelt. I concede that
introducing a short 'o' would do little or no damage to comprehension.

Just as it's inevitable that a short vowel sound will be inserted between
the 'c' and the 'p' (as you alluded to), a short vowel sound also must be
inserted either between the 't' and the 'r' or the 'r' and the 'c':
"stir-copy" or "struh-copy". The main difference between these two
pronunciations is how the 't' sounds. In the former, we have a hard,
traditional 't', as found in "tail" and "state". In the latter, we have a
softer, more "ch"-like sound, as in "trail" or "strange".

Josh
 
E

Emmanuel Delahaye

In 'comp.lang.c' said:
I pronounce strcpy like this: strcpy

That is, "str" as in "string without the ing", and "cpy" as a hard c sound
followed by the "py" sound that you get in "copy". No "o" sound.

In other words, I pronounce it just as it is spelt. I concede that
introducing a short 'o' would do little or no damage to comprehension.

I French, we generally spell 'str' and prononce 'cpy' as 'copy', hence we say
"Ess Tai Er Copy".

Sometimes, we spell the whole:
"Ess Tai Er Sai Pai E-grek"
 
C

cody

I was at the ESEC/FSE 2003 conference, and some people (American or
British or whatever) were giving a talk about their program which finds
buffer overflows in C code. Someone asked them a question about how they
detect buffer overflows in strcpy(). The person pronounced it something
like "stir-copy". Is this pronunciation often used? Are there others?


finally, it really doesn't matter how you pronounce it. the only important
thing is that a c programmer understand what you mean, thats all.
 
S

Serve La

Joona I Palaste said:
I was at the ESEC/FSE 2003 conference, and some people (American or
British or whatever) were giving a talk about their program which finds
buffer overflows in C code. Someone asked them a question about how they
detect buffer overflows in strcpy(). The person pronounced it something
like "stir-copy". Is this pronunciation often used? Are there others?

I would be more interested in strpbrk and strrchr
 
D

Daniel Haude

On Sat, 6 Sep 2003 20:45:23 +0000 (UTC),
in Msg. said:
I pronounce strcpy like this: strcpy

Guys, guys. Either the Standard defines the pronunciation of C
standard library functions and keywords, in which case the
discussion would be over with a simple pointer to the relevant
section. Or (indeed) it doesn't, so this thread is off-topic. I must
ask you to stop this.

--Daniel
 
E

Emmanuel Delahaye

Serve La said:
I would be more interested in strpbrk and strrchr

Ess Tai Er Pai Bai Er Ka
Ess Tai Er Sai Ash Er

I understand why programmers speak a few, but write a lot!
 
R

Richard Heathfield

Daniel said:
Guys, guys. Either the Standard defines the pronunciation of C
standard library functions and keywords, in which case the
discussion would be over with a simple pointer to the relevant
section. Or (indeed) it doesn't, so this thread is off-topic. I must
ask you to stop this.

I agree that it's silly, but I don't agree that it's off-topic.

There is more to comp.lang.c than 9899 pointers.
 
C

cody

I would be more interested in strpbrk and strrchr


strrchr mean String-Right-Character but what does strpbrk mean?
i know what it does do but what does the name stand for?
 
S

Serve La

cody said:
strrchr mean String-Right-Character but what does strpbrk mean?
i know what it does do but what does the name stand for?

I wanted to know this some time ago so I looked it up with google. The info
that I found was that nobody knows for sure, but it seems to come from
SNOBOL's BREAK statement. So my guess is string pointer break.
 
S

Steve Zimmerman

cody said:
>
>
> strrchr mean String-Right-Character but what does strpbrk mean?
> i know what it does do but what does the name stand for?
>
> --
> cody

My guess: `string pointer break',

<lame humour>

which is not to be confused with sprbrk (spring break).
Also, some commentators claim that strpbrk means
"[str]ing [p]ower inary [r]ead ac[k]nowledgment,"
but this is highly unlikely. :)

</lame humour>


--Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,054
Latest member
LucyCarper

Latest Threads

Top