_devfs_find_by_dev(9)

NAME

_devfs_find_by_dev - Find a devfs entry in a directory.

SYNOPSIS

struct    devfs_entry    *    _devfs_find_by_dev   (struct
devfs_entry *dir, unsigned int major, unsigned int  minor,
char type);

ARGUMENTS

dir The directory where to search

major The major number to search for.

minor The minor number to search for.

type The type of special file to search for. This
may be either DEVFS_SPECIAL_CHR or DEVFS_SPE
CIAL_BLK.

DESCRIPTION

Returns the devfs_entry pointer on success, else NULL. An
implicit devfs_get is performed.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout