Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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