summaryrefslogtreecommitdiff
path: root/libc/unistd/getlogin.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-03 19:20:40 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-03 19:22:22 +0100
commita6975db114cce6484aa83f107d4496cd6045fd26 (patch)
tree15f21c6e8d8ce616c0fc6020161737df4cfe1ff6 /libc/unistd/getlogin.c
parent391e3c8487386ed74b981cab45705cde963c6da3 (diff)
libc: getpass,getutent: allocate buffer dynamically
Saves 0.6k bss with default buffer size(256). text data bss dec hex filename - 1172 8 408 1588 634 libc/misc/utmp/utent.os - 429 0 256 685 2ad libc/unistd/getpass.os + 1208 8 28 1244 4dc libc/misc/utmp/utent.os + 471 0 4 475 1db libc/unistd/getpass.os ================================================================ +78 -632 Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
Diffstat (limited to 'libc/unistd/getlogin.c')
0 files changed, 0 insertions, 0 deletions