SHTK_FS_JOIN_PATHS(3)
π SHTK_FS_JOIN_PATHS(3) β¨
okay so bestie, this is the Library Functions Manual entry for shtk_fs_join_paths β and it is literally just path-gluing main character energy. no cap. π«Ά
πΈ NAME πΈ
shtk_fs_join_paths β concatenates a series of path entries π
π LIBRARY π
shtk_import fs
β¨ SYNOPSIS β¨
shtk_fs_join_paths path1 [.. pathN]
π¦ DESCRIPTION π¦
okay so shtk_fs_join_paths takes a collection of path components and concatenates them, printing the result to stdout. it's giving βsmoosh the paths together and serveβ and honestly? iconic. π§
the resulting path is normalized according to the rules described in shtk_fs_normalize_path(3). periodt.
π RETURN VALUES π
shtk_fs_join_paths returns 0. slay. β
π EXAMPLES π
shtk_fs_join_paths foo//bar /baz/. # Prints ./foo/bar/baz
shtk_fs_join_paths /bin ls # Prints /bin/ls
π SEE ALSO π
β HISTORY β
shtk_fs_join_paths first appeared in shtk 1.7. vintage but make it fresh, iykyk. π₯
brought to you by Debian, dated September 18, 2016 β mwah π
π¦ where this page comes from
- nixos 26.05: shtk 1.7
- nixpkgs unstable: shtk 1.7
- Copyright 2016 Google Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms