DOKK / manpages / debian 11 / publib-dev / struntabify.3pub.en
STRUNTABIFY(3pub) C Programmer's Manual STRUNTABIFY(3pub)

struntabify - convert tabs to spaces

#include <publib.h>
char *struntabify(char *str, size_t tabsize);

struntabify will convert all tab characters ('\t') in the string str to spaces. Tab positions are at every tabsize columns. The string is supposed to be big enough to hold the conversion, which is done in place.

struntabify will return its first argument.

publib(3), strtabify(3)

Lars Wirzenius (lars.wirzenius@helsinki.fi)

C Programmer's Manual Publib