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

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

CDEVSW_REMOVE(9)

Contents


NAME    [Toc]    [Back]

     cdevsw_remove -- removes a cdevsw entry

SYNOPSIS    [Toc]    [Back]

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

     int
     cdevsw_remove(struct cdevsw *oldentry);

DESCRIPTION    [Toc]    [Back]

     The cdevsw_remove() function removes oldentry from the cdevsw table if
     its major number is greater than or equal to zero, and is less than
     NUMCDEVSW.

     Its argument is:

     oldentry  The device to remove from 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_add FreeBSD adds a cdevsw entry
pxfunlink IRIX Removes a directory entry
DXmSvnRemoveComponent Tru64 Removes a component from each SVN entry.
pxfrmdir IRIX Removes a directory entry
DXmSvnClearHighlight Tru64 Removes (clears) highlighting from a specified entry.
unadvertise HP-UX Removes the global server entry from the cell profile
rpccp_unexport HP-UX Removes binding information, interface identifiers, and object UUIDs from a server entry
devsw FreeBSD returns the cdevsw structure
rpccp_remove_profile HP-UX Removes all profile elements and the profile from the specified name service entry
rpccp_remove_group HP-UX Removes all group members and the group from the specified name service entry
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service