---
name: "str_copy"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/str_copy"
---

# str\_copy(3)

copy an ASCIIZ string

## NAME

str\_copy - copy an ASCIIZ string

## SYNTAX

**#include \<libowfat/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 (not including the \\0).

## SEE ALSO

[strlen(3)](/strlen/3.md)
