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__