blk_alloc_devt(9) suse man page | unix.com

Man Page: blk_alloc_devt

Operating Environment: suse

Section: 9

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 2.6. July 2010 BLK_ALLOC_DEVT(9)
Related Man Pages
di_lnode_name(3devinfo) - opensolaris
device_create_vargs(9) - centos
gnu_dev_minor(3) - linux
device_create(9) - suse
device_create_vargs(9) - suse
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Migrating to UNIX
Cut command on RHEL 6.8 compatibility issues
A (ksh) Library For and From UNIX.com
32 bit process addressing more than 4GB