openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/misc-utils/cal.c
static int center_str(const char* src, char* dest, size_t dest_size,
                      size_t width)
{
    return mbsalign(src, dest, dest_size, &width, MBS_ALIGN_CENTER,
                    MBA_UNIBYTE_FALLBACK);
}
/*
 * Center string, handling multibyte characters appropriately.
 * In addition if the string is too large for the width it's truncated.
 * The number of trailing spaces may be 1 less than the number of leading
 * spaces.
 */
Center string, handling multibyte characters appropriately.
In addition if the string is too large for the width it's truncated.
The number of trailing spaces may be 1 less than the number of leading
spaces.
Center string handling multibyte characters appropriately . In addition if the string is too large for the width it ' s truncated . The number of trailing spaces may be 1 less than the number of leading spaces .
static int center_str(const char* src, char* dest, size_t dest_size,
                      size_t width)
{
    return mbsalign(src, dest, dest_size, &width, MBS_ALIGN_CENTER,
                    MBA_UNIBYTE_FALLBACK);
}
static int center_str ( const char * src , char * dest , size_t dest_size , size_t width ) { return mbsalign ( src , dest , dest_size , & width , MBS_ALIGN_CENTER , MBA_UNIBYTE_FALLBACK ) ; }
Center string, handling multibyte characters appropriately.
Center string handling multibyte characters appropriately .