userspace: Implement true and false utilities
This commit is contained in:
9
userspace/programs/false/CMakeLists.txt
Normal file
9
userspace/programs/false/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
||||
add_executable(false ${SOURCES})
|
||||
banan_link_library(false ban)
|
||||
banan_link_library(false libc)
|
||||
|
||||
install(TARGETS false OPTIONAL)
|
||||
6
userspace/programs/false/main.cpp
Normal file
6
userspace/programs/false/main.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
Reference in New Issue
Block a user