Postgres module

put_cstring

procedure · 1 overloadsince 0.27.0Source

A C string: the text and a zero. Text holding a zero would end early, so callers check first.

put_cstring :: (out: *[..] u8, text: string)

A C string: the text and a zero. Text holding a zero would end early, so callers check first.

Parameters

out: *[..] u8
the buffer to append to.
text: string
the text, which must hold no zero byte.

See also