summaryrefslogtreecommitdiffstats
path: root/docs/reference-v3
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference-v3')
-rw-r--r--docs/reference-v3/func-api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference-v3/func-api.md b/docs/reference-v3/func-api.md
index 2f836cab..535bff85 100644
--- a/docs/reference-v3/func-api.md
+++ b/docs/reference-v3/func-api.md
@@ -579,9 +579,9 @@ struct sd_bus *afb_api_get_system_bus(
* @param info the brief description of the new api (can be NULL)
* @param noconcurrency zero or not zero whether the new api is reentrant or not
* @param preinit the pre-initialization function if any (can be NULL)
- * @param closure the closure for the pre-initialization \ref preinit
+ * @param closure the closure for the pre-initialization preinit
*
- * @return 0 in case of success or -1 on failure with errno set
+ * @return the created api in case of success or NULL on error
*
* @see afb_api_delete_api
*/