Import with #import "std/c_string".
CopyCString :: (value: string, output: []u8) -> boolModules / Standard library
Copies a borrowed Ziran string into caller-owned, NUL-terminated storage. Reject embedded NUL bytes and insufficient capacity before exposing the buffer to a native C API.
Import with #import "std/c_string".
CopyCString :: (value: string, output: []u8) -> bool