---
name: "libuuid"
section: "3"
platform: "linux"
package: "uuid-dev"
version: "1.2-1.27-2"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/libuuid"
---

# libuuid(3)

DCE compatible Universally Unique Identifier library

## NAME

libuuid - DCE compatible Universally Unique Identifier library

## SYNOPSIS

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

**cc** *file.c* **-luuid**

## DESCRIPTION

The **libuuid** library is used to generate unique identifiers for objects that may be accessible beyond the local system.  The Linux implementation was created to uniquely identify ext2 filesystems created by a machine.  This library generates UUIDs compatible with those created by the Open Software Foundation (OSF) Distributed Computing Environment (DCE) utility  **uuidgen**.

The UUIDs generated by this library can be reasonably expected to be unique within a system, and unique across all systems.  They could be used, for instance, to generate unique HTTP cookies across multiple web servers without communication between the servers, and without fear of a name clash.

## CONFORMING TO

OSF DCE 1.1

## AUTHOR

**libuuid** was written by Theodore Y. Ts'o for the ext2 filesystem utilties.

## AVAILABILITY

**libuuid** is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net/ ⟨http://e2fsprogs.sourceforge.net/⟩

## COPYING

**libuuid** is available under the terms of the GNU Library General Public License (LGPL), version 2 (or at your discretion any later version).  A copy of the LGPL should be included with this library in the file COPYING.  If not, write to

Free Software Foundation, Inc.\
 59 Temple Place\
 Suite 330\
 Boston, MA  02111-1307  USA

or visit http://www.gnu.org/licenses/licenses.html#LGPL ⟨http://www.gnu.org/licenses/licenses.html#LGPL⟩

## SEE ALSO

[**uuid\_clear**(3)](/uuid_clear/3.md), [**uuid\_compare**(3)](/uuid_compare/3.md), [**uuid\_copy**(3)](/uuid_copy/3.md), [**uuid\_generate**(3)](/uuid_generate/3.md), [**uuid\_is\_null**(3)](/uuid_is_null/3.md), [**uuid\_parse**(3)](/uuid_parse/3.md), [**uuid\_time**(3)](/uuid_time/3.md), [**uuid\_unparse**(3)](/uuid_unparse/3.md)
