logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

strtabify - convert runs of spaces and tabs to tabs

Author

       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib                                        C Programmer's Manual                              STRTABIFY(3pub)

Description

strtabify  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.

Name

       strtabify - convert runs of spaces and tabs to tabs

Return Value

strtabify will return its first argument.

See Also

publib(3), struntabify(3)

Synopsis

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

See Also