[Libsysio-commit] namespace_assembly: libsysio/tests startup.c
Brought to you by:
lward
|
From: Lee W. <lw...@us...> - 2004-02-09 14:43:28
|
Update of /cvsroot/libsysio/libsysio/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19064 Added Files: Tag: namespace_assembly startup.c Log Message: Oops, forgot to `add' this when I checked in. --- NEW FILE --- #include <stdlib.h> #include <errno.h> #include <sys/types.h> #include <sys/queue.h> #include "sysio.h" #include "test.h" int _test_sysio_startup() { int err; const char *s; err = _sysio_init(); if (err) return err; err = drv_init_all(); if (err) return err; s = getenv("SYSIO_NAMESPACE"); err = s ? _sysio_boot(s) : -ENOTTY; if (err) return err; return 0; } |