mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Add NetBSD support
This commit is contained in:
parent
2fdc19e7a7
commit
23ae9dfceb
4020 changed files with 8955 additions and 8128 deletions
|
@ -26,8 +26,9 @@
|
|||
* - East asian glyphs, emoji, etc. count as two
|
||||
*
|
||||
* @param s is NUL-terminated string
|
||||
* @param o is string offset for computing tab widths
|
||||
* @return monospace display width
|
||||
*/
|
||||
int strwidth(const char *s) {
|
||||
return strnwidth(s, -1);
|
||||
int strwidth(const char *s, size_t o) {
|
||||
return strnwidth(s, -1, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue