mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-03 19:39:16 +00:00
refactor(userspace/apps/test): ♻️ move all functions in one file
it's just too much... Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
48
Userspace/apps/test/libc_test/fcntl.c
Normal file
48
Userspace/apps/test/libc_test/fcntl.c
Normal file
@ -0,0 +1,48 @@
|
||||
/*
|
||||
This file is part of Fennix Userspace.
|
||||
|
||||
Fennix Userspace is free software: you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License as
|
||||
published by the Free Software Foundation, either version 3 of
|
||||
the License, or (at your option) any later version.
|
||||
|
||||
Fennix Userspace is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Fennix Userspace. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
int test_creat()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
int test_fcntl()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
int test_open()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
int test_openat()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
int test_posix_fadvise()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
int test_posix_fallocate()
|
||||
{
|
||||
return 2;
|
||||
}
|
Reference in New Issue
Block a user