---
name: "dev_t"
section: "3type"
platform: "linux"
package: "man-pages"
version: "6.19-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/dev_t/3type"
---

# dev\_t(3type)

device ID

## NAME

dev\_t - device ID

## LIBRARY

Standard C library (*libc*)

## SYNOPSIS

```
#include <sys/types.h>
```

**typedef** /\* ... \*/  **dev\_t;**

## DESCRIPTION

Used for device IDs. It is an integer type. For further details of this type, see [**makedev**(3)](/makedev/3.md).

## STANDARDS

POSIX.1-2024.

## HISTORY

POSIX.1-1988.

## NOTES

The following header also provides this type: *\<sys/stat.h\>*.

## SEE ALSO

[**mknod**(2)](/mknod/2.md), [**stat**(3type)](/stat/3type.md)
