From 1b4c281f898eb162922cb7467afad1891f2ea20f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 28 Dec 2015 00:27:36 +0100 Subject: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/satd.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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[]) { -- cgit v1.2.3-70-g09d2