Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140501
b: refs/heads/master
c: 4370aa4
h: refs/heads/master
i:
  140499: 4b48032
v: v3
  • Loading branch information
Lai Jiangshan authored and Ingo Molnar committed Mar 6, 2009
1 parent 9ea5efd commit d1017ad
Show file tree
Hide file tree
Showing 4 changed files with 453 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f036be96dd9ce442ffb9ab33e3c165f5178815c0
refs/heads/master: 4370aa4aa75391a5e2e06bccb0919109f725ed8e
7 changes: 7 additions & 0 deletions trunk/include/linux/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <linux/compiler.h> /* for inline */
#include <linux/types.h> /* for size_t */
#include <linux/stddef.h> /* for NULL */
#include <stdarg.h>

extern char *strndup_user(const char __user *, long);

Expand Down Expand Up @@ -111,6 +112,12 @@ extern void argv_free(char **argv);

extern bool sysfs_streq(const char *s1, const char *s2);

#ifdef CONFIG_BINARY_PRINTF
int vbin_printf(u32 *bin_buf, size_t size, const char *fmt, va_list args);
int bstr_printf(char *buf, size_t size, const char *fmt, const u32 *bin_buf);
int bprintf(u32 *bin_buf, size_t size, const char *fmt, ...) __printf(3, 4);
#endif

extern ssize_t memory_read_from_buffer(void *to, size_t count, loff_t *ppos,
const void *from, size_t available);

Expand Down
3 changes: 3 additions & 0 deletions trunk/lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# Library configuration
#

config BINARY_PRINTF
def_bool n

menu "Library routines"

config BITREVERSE
Expand Down
Loading

0 comments on commit d1017ad

Please sign in to comment.