aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-28 00:27:36 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-28 00:27:36 +0100
commit1b4c281f898eb162922cb7467afad1891f2ea20f (patch)
tree4d5b0b25b712806c1fbbcbab76377b05710e4382 /src
parentremove empty environment entires (diff)
downloadsat-1b4c281f898eb162922cb7467afad1891f2ea20f.tar.gz
sat-1b4c281f898eb162922cb7467afad1891f2ea20f.tar.bz2
sat-1b4c281f898eb162922cb7467afad1891f2ea20f.tar.xz
doc
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src')
-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[])
{