_DEVFS_APPEND_ENTRY

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

_devfs_append_entry - Append a devfs entry to a directory's child list.  

SYNOPSIS

"SYNOPSIS"

int _devfs_append_entry (devfs_handle_t dir, devfs_handle_t de, devfs_handle_t * old_de);  

ARGUMENTS

dir
The directory to add to.
de
The devfs entry to append.
old_de
If an existing entry exists, it will be written here. This may be NULL. An implicit devfs_get is performed on this entry.
 

DESCRIPTION

Append a devfs entry to a directory's list of children, checking first to see if an entry of the same name exists. The directory will be locked. The value 0 is returned on success, else a negative error code. On failure, an implicit devfs_put is performed on de.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:30:21 GMT, October 06, 2005