---
name: "uuid_copy"
section: "3"
platform: "linux"
package: "util-linux-libs"
version: "2.42.4-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/uuid_copy"
---

# uuid\_copy(3)

copy a UUID value

## NAME

uuid\_copy - copy a UUID value

## SYNOPSIS

**#include \<uuid.h\>**

**void uuid\_copy(uuid\_t** *dst***, const uuid\_t** *src***);**

## DESCRIPTION

*The* **uuid\_copy***() function copies the UUID variable src to dst.*

## RETURN VALUE

*The copied UUID is returned in the location pointed to by dst.*

## AUTHORS

*Theodore Y. Ts’o*

## SEE ALSO

**uuid***(3),* **uuid\_clear***(3),* **uuid\_compare***(3),* **uuid\_generate***(3),* **uuid\_is\_null***(3),* **uuid\_parse***(3),* **uuid\_unparse***(3)*

## REPORTING BUGS

*For bug reports, use the* *issue tracker \<https://github.com/util-linux/util-linux/issues\>.*

## AVAILABILITY

*The* **libuuid** *library is part of the util-linux package since version 2.15.1. It can be downloaded from* *Linux Kernel Archive \<https://www.kernel.org/pub/linux/utils/util-linux/\>.*
