Skip to content

str_copy.3

Manvendra Bhangui edited this page May 7, 2023 · 2 revisions

NAME

str_copy - copy an ASCIIZ string

SYNTAX

#include <str.h>

size_t str_copy(char* out,const char* in);

DESCRIPTION

str_copy copies the leading bytes of in to out up to and including the first occurrance of \0.

str_copy returns the number of bytes copied.

SEE ALSO

strlen(3)

Clone this wiki locally