Back to index

cell-binutils  2.17cvs20070401
Functions
stpcpy.c File Reference
#include <ansidecl.h>
#include <stddef.h>

Go to the source code of this file.

Functions

size_t strlen (const char *)
PTR memcpy (PTR, const PTR, size_t)
char * stpcpy (char *dst, const char *src)

Function Documentation

PTR memcpy ( PTR  ,
const PTR  ,
size_t   
)

Definition at line 21 of file memcpy.c.

{
    bcopy(in, out, length);
    return out;
}
char* stpcpy ( char *  dst,
const char *  src 
)

Definition at line 39 of file stpcpy.c.

{
  const size_t len = strlen (src);
  return (char *) memcpy (dst, src, len + 1) + len;
}

Here is the call graph for this function:

Here is the caller graph for this function:

size_t strlen ( const char *  )