---
name: "function::MKDEV"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::MKDEV"
---

# function::MKDEV(3stap)

Creates a value that can be compared to a kernel device number (kdev\_t)

## NAME

function::MKDEV - Creates a value that can be compared to a kernel device number (kdev\_t)

## SYNOPSIS

```
    MKDEV:long(major:long,minor:long)
```

## ARGUMENTS

*major*

Intended major device number.

*minor*

Intended minor device number.
