aboutsummaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorbeppu <beppu@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-04-17 04:22:09 +0000
committerbeppu <beppu@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-04-17 04:22:09 +0000
commitcdab153cc57f12291471186bd083c278eb47bb42 (patch)
treedb9e84821fb8742d8c10636388db640f1f763c73 /internal.h
parent489710b1137b8e37331918848d06c1be1794e0e6 (diff)
downloadbusybox-w32-cdab153cc57f12291471186bd083c278eb47bb42.tar.gz
busybox-w32-cdab153cc57f12291471186bd083c278eb47bb42.tar.bz2
busybox-w32-cdab153cc57f12291471186bd083c278eb47bb42.zip
+ in the interest of robustness, I added
utility.c :: cstring_alloc() utility.c :: cstring_lineFromFile() /* they're at the bottom */ so that I could read in lines of arbitrary length from FILE*s (instead of using fgets(huge_ass_buffer,...)). + I tested it out on sort, and it seems to be fine. git-svn-id: svn://busybox.net/trunk/busybox@463 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 18159b1d3..8c97a090a 100644
--- a/internal.h
+++ b/internal.h
@@ -219,6 +219,8 @@ extern long getNum (const char *cp);
219extern pid_t* findPidByName( char* pidName); 219extern pid_t* findPidByName( char* pidName);
220extern void *xmalloc (size_t size); 220extern void *xmalloc (size_t size);
221extern int find_real_root_device_name(char* name); 221extern int find_real_root_device_name(char* name);
222extern char *cstring_lineFromFile(FILE *f);
223
222 224
223#if defined BB_INIT || defined BB_SYSLOGD 225#if defined BB_INIT || defined BB_SYSLOGD
224extern int device_open(char *device, int mode); 226extern int device_open(char *device, int mode);