"Richard L. Hamilton" <[EMAIL PROTECTED]> wrote:

> Ok, next: what do the unexpanded sccs keywords on the
>  #pragma ident
> lines look like, i.e. since I'm using usr/src/lib/libc/port/gen/strlen.c
> as a starting point, what should I make that line look like?

I believe that strnlen is something like:

p2 = memchr(p, o, len);
if (p == 0 || p2 - p > len)
        return (len);
return (p2 - p);

Why do you like to start with strlen()?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to