Bruce Momjian <[email protected]> writes:
> Upon successful completion snprintf() and vsnprintf() return the number
> of characters that would have been written to a sufficiently sized str,
> excluding the terminating NUL character.
> but it seems this is some BSD'ism that we don't need to support if the
> standard doesn't say so.
Yeah, that is a BSD-ism. You have a point though, we ought to document
which return convention the code follows. I'll add something.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org