STRTABIFY(3pub)
β¨ STRTABIFY β¨
okay bestie, gather round π this is a page from the C Programmer's Manual (the 3pub girlies know) and it's all about strtabify β she converts runs of spaces and tabs into tabs. lowkey iconic behavior.
πΈ NAME πΈ
strtabify β convert runs of spaces and tabs to tabs π
π¦ SYNOPSIS π¦
#include <publib.h>
char *strtabify(char *str, size_t tabsize);
π DESCRIPTION π
so here's the vibe: strtabify converts spaces and tabs into tabs and spaces β using the minimal amount of spaces required, possibly none β while preserving indentation. she's not out here ruining your pretty indented code, no ma'am π«Ά
tab positions are set every tabsize columns. that's it, that's the whole gig, and she ate. π₯
π RETURN VALUE π
strtabify will return its first argument. that's right, she hands you back your own str β main character energy, giving back what she got but β¨improvedβ¨ π
π SEE ALSO π
π AUTHOR π
Lars Wirzenius (lars.wirzenius@helsinki.fi) β thank you king πββοΈπ
no cap, this page is from the Publib collection in the C Programmer's Manual, 3pub section. periodt. π
β¨πΈπ¦
π¦ where this page comes from
- debian bookworm: publib-dev 0.40-3+b1 Β· BSD-2-Clause
- debian trixie: publib-dev 0.40-4 Β· BSD-2-Clause
- ubuntu jammy: publib-dev 0.40-3build1 Β· BSD-2-Clause
- ubuntu noble: publib-dev 0.40-3build1 Β· BSD-2-Clause
- ubuntu questing: publib-dev 0.40-4
- ubuntu resolute: publib-dev 0.40-4build1 Β· BSD-2-Clause
- ubuntu stonking: publib-dev 0.40-4build1 Β· BSD-2-Clause
- Copyright (c) 1994-2006 Lars Wirzenius. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms