This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: regncomp/regnexec for glibc ?


> From: "Khimenko Victor" <khim@sch57.msk.ru>
> Date: Sat, 22 Jan 2000 21:37:16 +0300 (MSK)

> AFAIK in C itself the only operation with strings is it's definition. All
> other things are in system library.

There is no such distinction.  You either have C, including the
library functions, or you have something else.  Every conforming
implementation is required to implement the base part of the library,
which includes everything in string.h.  The operation `strcat()' is as
much a part of the language as is the operation `+' or the type
`size_t'.

Indeed, if you look at gcc, you'll see that strlen() and strcpy() are
implemented as built-ins.

-- 
- Geoffrey Keating <geoffk@cygnus.com>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]