Home Download FAQ / Knowledge Base Screenshots Documentation Support Roadmap

NewStrBufPlain

Create a new StrBuf variable and initialize it with the contents of a plain C string.

SYNOPSIS

StrBuf* NewStrBufPlain(const char* ptr, int nChars);

DESCRIPTION

Create a new StrBuf variable and initialize it with the contents of a plain C string.

PARAMETERS

Parameter	Description
---------	-----------
ptr		Pointer to a C string
nchars		Length of the C string or -1 if not known

RETURNS

Returns a pointer to a newly created StrBuf.
The contents of the C string specified in ptr will be copied into the StrBuf.

SEE ALSO

HISTORY

There are no social media links here. Enjoy a friendly Citadel community instead. Or go outside.
Copyright © 1987-2024 Uncensored Communications Group. All rights reserved.