aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/satd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/satd.c b/src/satd.c
index 414ca58..7eb1b55 100644
--- a/src/satd.c
+++ b/src/satd.c
@@ -111,6 +111,16 @@ fail:
}
+/**
+ * The sat daemon.
+ *
+ * @param argc Any value in [0, 2] is accepted.
+ * @param argv The name of the process, and -f if the process
+ * shall not be daemonised.
+ * @return 0 The process was successful.
+ * @return 1 The process failed queuing the job.
+ * @return 2 User error, you do not know what you are doing.
+ */
int
main(int argc, char *argv[])
{