diff options
author | Jeremy Fitzhardinge | 2006-06-25 05:49:17 -0700 |
---|---|---|
committer | Linus Torvalds | 2006-06-25 10:01:23 -0700 |
commit | e905914f96e11862b130dd229f73045dad9a34e8 (patch) | |
tree | 0e7cff381970e2439de521c3d42ded8c49f69354 /kernel/printk.c | |
parent | f796937a062c7aeb44cd0e75e1586c8543634a7d (diff) |
[PATCH] Implement kasprintf
Implement kasprintf, a kernel version of asprintf. This allocates the
memory required for the formatted string, including the trailing '\0'.
Returns NULL on allocation failure.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/printk.c')
0 files changed, 0 insertions, 0 deletions