Skip to content

Commit 5c82869

Browse files
committed
development: modify return value of API
Signed-off-by: Takahiro YAMASHITA <nokute78@gmail.com>
1 parent 4a7a9f8 commit 5c82869

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

development/library_api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The third argument __data__ can be used to pass a custom reference to the plugin
6969
7070
__Return Value__
7171
72-
On success, __flb_input()__ returns an integer value >= zero (similar to a file descriptor); on error, it returns NULL.
72+
On success, __flb_input()__ returns an integer value >= zero (similar to a file descriptor); on error, it returns a negative number.
7373
7474
__Usage__
7575
@@ -128,7 +128,7 @@ The third argument __data__ can be used to pass a custom reference to the plugin
128128
129129
__Return Value__
130130
131-
On success, __flb_output()__ returns the output plugin instance; on error, it returns NULL.
131+
On success, __flb_output()__ returns the output plugin instance; on error, it returns a negative number.
132132
133133
__Usage__
134134

0 commit comments

Comments
 (0)