centos man page for blk_alloc_devt

Query: blk_alloc_devt

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

BLK_ALLOC_DEVT(9)						   Block Devices						 BLK_ALLOC_DEVT(9)

NAME
blk_alloc_devt - allocate a dev_t for a partition
SYNOPSIS
int blk_alloc_devt(struct hd_struct * part, dev_t * devt);
ARGUMENTS
part partition to allocate dev_t for devt out parameter for resulting dev_t
DESCRIPTION
Allocate a dev_t for block device.
RETURNS
0 on success, allocated dev_t is returned in *devt. -errno on failure.
CONTEXT
Might sleep.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 BLK_ALLOC_DEVT(9)
Related Man Pages
di_lnode_devt(3devinfo) - opensolaris
makedev(3) - freebsd
device_create(9) - centos
gnu_dev_makedev(3) - suse
device_create(9) - suse
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Weird 'find' results
Set hard block limit for user using quota
Controlling user input
Please Welcome Dave Munro to the Moderator Team!