Created
February 22, 2016 17:15
-
-
Save gabrielschulhof/7d79a3c8a17674212323 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <sol-mainloop.h> | |
#include <sol-platform.h> | |
void startup() { | |
printf( "%d\n", sol_platform_get_service_state("sshd")); | |
sol_quit(); | |
} | |
void shutdown(){} | |
SOL_MAIN_DEFAULT(startup, shutdown); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment