(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

LONG AddDosEntry (dlist)

LOCATION
In DOSBase at offset 113

SYNOPSIS
struct DosList * dlist

FUNCTION
Adds a given dos list entry to the dos list. Automatically locks the list for writing. There may be not more than one device or assign node of the same name. There are no restrictions on volume nodes.

INPUTS
dlist
pointer to dos list entry.

RESULT
!=0 if all went well, 0 otherwise.

EXAMPLE

SEE ALSO

NOTES
Since anybody who wants to use a device or volume node in the dos list has to lock the list, filesystems may be called with the dos list locked. So if you want to add a dos list entry out of a filesystem don't just wait on the lock but serve all incoming requests until the dos list is free instead.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column

14.11.1996 aros
Some more changes
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
10.10.1996 digulla
Use dl_DevNam instaed of dl_Name (STRPTR and BPTR) (Fleischer)
13.08.1996 digulla
Replaced <dos/dosextens.h> by "dos_intern.h" or added "dos_intern.h" Replaced __AROS_LA by __AROS_LHA
01.08.1996 digulla
Added standard header for all files
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS