diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-29 06:45:47 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-29 06:45:47 +0100 |
commit | d1f7ce55fc963650332dda161d669d4ea3138e85 (patch) | |
tree | 2f71ae965975f0d10c015993c13c11ab06e92b9b /src/client.h | |
parent | m simplification (diff) | |
download | sat-d1f7ce55fc963650332dda161d669d4ea3138e85.tar.gz sat-d1f7ce55fc963650332dda161d669d4ea3138e85.tar.bz2 sat-d1f7ce55fc963650332dda161d669d4ea3138e85.tar.xz |
start daemon and send message
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client.h b/src/client.h index b3ade56..9c10acf 100644 --- a/src/client.h +++ b/src/client.h @@ -57,10 +57,10 @@ enum command { * Send a command to satd. Start satd if it is not running. * * @param cmd Command type. - * @param n The length of the message, 0 if `msg` is - * `NULL` or NUL-terminated. + * @param n The length of the message, 0 if + * `msg` is `NULL` or NUL-terminated. * @param msg The message to send. - * @return Zero on success. + * @return 0 on success, -1 on error. * * @throws 0 Error at the daemon-side. */ |