diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-05-01 01:36:15 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-05-01 01:36:15 -0400 |
commit | 1b6b485858dd883064e11313711df3658e6e5bca (patch) | |
tree | 6851aeff581ee310d5509f2a240d4380ac3e356e /src | |
parent | 3e168d5920afd4f8a27b57850f4baa8df6b77cbf (diff) |
Link libopensmarts
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..8b9582c --- /dev/null +++ b/src/main.c @@ -0,0 +1,13 @@ +#include <stddef.h> +#include <unistd.h> +#include <osm/bind.h> + +int main(int argc, char **argv) +{ + int fd = osm_open_onboard(NULL); + if (fd >= 0) + { + close(fd); + } + return 0; +} |