2001-02-02 17:54:47 +00:00
|
|
|
.TH str_copy 3
|
|
|
|
.SH NAME
|
|
|
|
str_copy \- copy an ASCIIZ string
|
|
|
|
.SH SYNTAX
|
2017-05-13 22:51:26 +00:00
|
|
|
.B #include <libowfat/str.h>
|
2001-02-02 17:54:47 +00:00
|
|
|
|
2006-11-07 17:56:05 +00:00
|
|
|
size_t \fBstr_copy\fP(char* \fIout\fR,const char* \fIin\fR);
|
2001-02-02 17:54:47 +00:00
|
|
|
.SH DESCRIPTION
|
|
|
|
str_copy copies the leading bytes of \fIin\fR to \fIout\fR up to and
|
|
|
|
including the first occurrance of \\0.
|
|
|
|
|
2018-09-30 19:27:16 +00:00
|
|
|
str_copy returns the number of bytes copied (not including the \\0).
|
2001-02-02 17:54:47 +00:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
strlen(3)
|