• Kir Kolyshkin's avatar
    compel std: rename printing functions · 8b745876
    Kir Kolyshkin authored
    Let's rename the printing functions so their names look more like
    the standard ones.
    
    1. putc/puts with a file descriptor.
    
    __std_putc -> std_dputc
    __std_puts -> std_dputs
    
    There are no standard putc/puts that accept fd as an argument,
    but the libc convention is to use d prefix for such. Therefore:
    
    NOTE we keep the order of the arguments intact, to be in line
    with the rest of the functions.
    
    2. *printf
    
    __std_printk -> std_vdprintf
    __std_printf -> std_dprintf
    
    The reason is, these are the names of libc functions with similar
    functionality/arguments.
    
    Cc: Dmitry Safonov <dsafonov@virtuozzo.com>
    Cc: Cyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
    Reviewed-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    8b745876
Name
Last commit
Last update
..
arch Loading commit data...
include Loading commit data...
plugins Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
compel-host Loading commit data...