aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/stdin.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2020-05-30 21:32:05 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2020-05-30 21:37:00 +0200
commitc3b9af3831762d7548eb1e72cfb62ab95e0d8490 (patch)
tree9f63251e8e665ee798972832f26b1baf1c0a7ec3 /src/common/stdin.h
parent9a3629921b250e7079be9abb5252381025c33354 (diff)
downloadblogc-c3b9af3831762d7548eb1e72cfb62ab95e0d8490.tar.gz
blogc-c3b9af3831762d7548eb1e72cfb62ab95e0d8490.tar.bz2
blogc-c3b9af3831762d7548eb1e72cfb62ab95e0d8490.zip
common: bc_stdin_read() should set read length
Diffstat (limited to 'src/common/stdin.h')
-rw-r--r--src/common/stdin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/stdin.h b/src/common/stdin.h
index e6bd7a0..be99922 100644
--- a/src/common/stdin.h
+++ b/src/common/stdin.h
@@ -9,6 +9,8 @@
#ifndef _STDIN_H
#define _STDIN_H
-char* bc_stdin_read(void);
+#include <stddef.h>
+
+char* bc_stdin_read(size_t *len);
#endif /* _STDIN_H */