Copies the contents of a buffer into a buffer set.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+
A pointer to the secondary status result that provides additional information in case of failure. Typically, a failure results from an inability to allocate memory, communicated with minor status
The buffer to copy into the buffer set.
A pointer to a buffer set descriptor reference that receives a copy of the buffer. You can indicate that the buffer set doesn't yet exist by setting its reference to
GSS. In this case, the function creates it first using
_C _NO _BUFFER _SET
gss. In any case, the buffer is added to the end of the set, and the buffer set's
_create _empty _buffer _set(_: _:)
The function does not add the
member to the buffer set directly. Rather it allocates new memory for a copy of the buffer, which it includes in the buffer set. When you call
gss later, you deallocate the memory for the buffer set and all of its buffer copies, but this has no effect on the original