* Added prototypes for getline(), and getdelim(). This fixes bug #6646.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38880 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-10-04 12:37:48 +00:00
parent 5096093590
commit 80c5b9b5ee
+6 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2004-2009, Haiku Inc. All Rights Reserved.
* Copyright 2004-2010, Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _STDIO_H_
@@ -141,6 +141,10 @@ extern int fgetc(FILE *stream);
extern char *gets(char *buffer);
extern char *fgets(char *string, int stringLength, FILE *stream);
extern ssize_t getdelim(char **_line, size_t *_length, int delimiter,
FILE *stream);
extern ssize_t getline(char **_line, size_t *_length, FILE *stream);
/* formatted I/O */
extern int printf(char const *format, ...) __PRINTFLIKE(1,2);
extern int fprintf(FILE *stream, char const *format, ...) __PRINTFLIKE(2,3);
@@ -176,4 +180,5 @@ extern char *tmpnam_r(char *nameBuffer);
}
#endif
#endif /* _STDIO_H_ */