CDEV_ALLOC(9) Char devices CDEV_ALLOC(9)

NAME cdev_alloc - allocate a cdev structure

SYNOPSIS struct cdev * cdev_alloc(void);

ARGUMENTS void no arguments

DESCRIPTION Allocates and returns a cdev structure, or NULL on failure.

COPYRIGHT Kernel Hackers Manual 2.6. June 2012 CDEV_ALLOC(9)