STRTABIFY(3) C Programmer's Manual STRTABIFY(3)NAMEstrtabify - convert runs of spaces and tabs to tabs
SYNOPSIS
#include <publib.h>
char *strtabify(char *str, size_t tabsize);
DESCRIPTIONstrtabify will converts spaces and tabs to tabs and spaces (using the
minimal amount of spaces required, possibly none), while preserving
indentation. Tab positions are set every tabsize columns.
RETURN VALUEstrtabify will return its first argument.
SEE ALSOpublib(3), struntabify(3)AUTHOR
Lars Wirzenius (lars.wirzenius@helsinki.fi)
Publib C Programmer's Manual STRTABIFY(3)