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.
Lars Wirzenius (lars.wirzenius@helsinki.fi)
C Programmer's Manual | Publib |