logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

struntabify - convert tabs to spaces

Author

       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib                                        C Programmer's Manual                            STRUNTABIFY(3pub)

Description

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.

Name

       struntabify - convert tabs to spaces

Return Value

struntabify will return its first argument.

See Also

publib(3), strtabify(3)

Synopsis

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

See Also