From 5c82869a7a87ae933710d4ceeaa94c325cdf61e6 Mon Sep 17 00:00:00 2001 From: Takahiro YAMASHITA Date: Tue, 11 Oct 2016 22:33:24 +0900 Subject: [PATCH] development: modify return value of API Signed-off-by: Takahiro YAMASHITA --- development/library_api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/development/library_api.md b/development/library_api.md index 45e958d6a..4d44f4fe4 100644 --- a/development/library_api.md +++ b/development/library_api.md @@ -69,7 +69,7 @@ The third argument __data__ can be used to pass a custom reference to the plugin __Return Value__ -On success, __flb_input()__ returns an integer value >= zero (similar to a file descriptor); on error, it returns NULL. +On success, __flb_input()__ returns an integer value >= zero (similar to a file descriptor); on error, it returns a negative number. __Usage__ @@ -128,7 +128,7 @@ The third argument __data__ can be used to pass a custom reference to the plugin __Return Value__ -On success, __flb_output()__ returns the output plugin instance; on error, it returns NULL. +On success, __flb_output()__ returns the output plugin instance; on error, it returns a negative number. __Usage__