*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> devsw (9)              
Title
Content
Arch
Section
 

DEVSW(9)

Contents


NAME    [Toc]    [Back]

     devsw -- returns the cdevsw structure

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <sys/conf.h>

     struct cdevsw *
     devsw(dev_t dev);

DESCRIPTION    [Toc]    [Back]

     The devsw() function returns a pointer to the cdevsw structure associated
     with this character device ID.  If dev->si_cdevsw is set it is returned;
     otherwise, the major(9) offset into the cdevsw array is returned.

     Its argument is:

     dev  The device whose cdevsw entry should be returned.

RETURN VALUES    [Toc]    [Back]

     A pointer to a cdevsw structure.

SEE ALSO    [Toc]    [Back]

      
      
     major(9), minor(9), umajor(9), uminor(9)

AUTHORS    [Toc]    [Back]

     This man page was written by Chad David <[email protected]>.


FreeBSD 5.2.1			 July 9, 2001			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
cdevsw_remove FreeBSD removes a cdevsw entry
cdevsw_add FreeBSD adds a cdevsw entry
current_task Tru64 General: Returns a pointer to the task structure associated with the currently running kernel thread
pxfstructcreate IRIX Creates an instance of the desired structure and returns a nonzero handle in the argument jhandle
ALgetconfig IRIX (obsolete) get/set the ALconfig structure of an audio ALport structure
SSL_CTX_get_cert_store Tru64 Get the X509_STORE structure in the SSL_CTX structure
DSA_dup_DH Tru64 Create a DH structure out of DSA structure
DSA_dup_DH OpenBSD create a DH structure out of DSA structure
DSA_dup_DH NetBSD create a DH structure out of DSA structure
SSL_set_purpose Tru64 Set a purpose value to the SSL structure
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service