/* * (c) 2008-2009 Adam Lackorzynski , * Alexander Warg * economic rights: Technische Universität Dresden (Germany) * This file is part of TUD:OS and distributed under the terms of the * GNU Lesser General Public License 2.1. * Please see the COPYING-LGPL-2.1 file for details. */ #include #include int mount(__const char *__special_file, __const char *__dir, __const char *__fstype, unsigned long int __rwflag, __const void *__data) noexcept(noexcept(mount(__special_file, __dir, __fstype, __rwflag, __data))) { int e = L4Re::Vfs::vfs_ops->mount(__special_file, __dir, __fstype, __rwflag, __data); if (e < 0) { errno = -e; return -1; } return 0; }