9
0
Fork 0
Commit Graph

10 Commits

Author SHA1 Message Date
Lucas Stach be9758bc17 lib: libbb: f should never be NULL
We assume it to be non NULL in other places, so
we are in much greater trouble if it actually is.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-02-10 08:49:55 +01:00
Sascha Hauer 51dce5facb add function to read single line files
Often small files are used to store the value od a variable. This
adds a function to easily read such a variable.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-10-14 14:04:20 +02:00
Alexander Aring f9fde00226 libbb: remove vi tabwidth setting
Remove vi tabwidth and tabstop setting.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-09-11 09:20:59 +02:00
Sascha Hauer 4c41e245cf libbb: add read_full/write_full functions
These functions read/write all data or return with an error.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-15 10:20:09 +01:00
Sascha Hauer 8e8c61e786 move simple_itoa to libbb so that others can use it
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-04-12 09:54:56 +02:00
Sascha Hauer 0d1c13019e libbb: sparse fixes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-21 22:21:25 +02:00
Sascha Hauer 2443c7a6f1 export symbols 2007-10-07 14:27:24 +02:00
Sascha Hauer 5931ed5a14 add safe_strncpy() function 2007-09-28 10:45:59 +02:00
Sascha Hauer ca5ae599d6 add recursive_action() and concat_subpath_file() from busybox 2007-09-24 17:00:49 +02:00
Sascha Hauer d97304aef2 add libbb functions 2007-09-24 01:36:07 +02:00