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

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

CDEVSW_ADD(9)

Contents


NAME    [Toc]    [Back]

     cdevsw_add -- adds a cdevsw entry

SYNOPSIS    [Toc]    [Back]

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

     int
     cdevsw_add(struct cdevsw *newentry);

DESCRIPTION    [Toc]    [Back]

     The cdevsw_add() function adds newentry to the cdevsw table if its major
     number is greater than or equal to zero, and is less than NUMCDEVSW.

     Its argument is:

     newentry  The device to add to the table.

RETURN VALUES    [Toc]    [Back]

     A value of 0 is returned on success; otherwise, EINVAL is returned indicating
 that the major number is not in the valid range.

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
rpccp_add_member HP-UX Adds a member to a group in a name service entry; if the specified entry does not exist, creates the entry
rpccp_add_element HP-UX Adds an element to a profile in a name service entry; if the specified entry does not exist, creates the entry
DXmSvnSetComponentWidget Tru64 Adds an SVN subwidget component to an entry.
DXmSvnSetComponentPixmap Tru64 Adds a pixmap component to an entry.
acl_add_perm Tru64 Adds a permission to a set of permissions belonging to an ACL entry
DXmSvnSetComponentText Tru64 Adds a read-only component string to an entry.
devsw FreeBSD returns the cdevsw structure
rpccp_add_entry HP-UX Adds a name service entry to the name service database
groupadd Tru64 Adds a new group definition
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service