Home Download News FAQ / Knowledge Base Screenshots Documentation Support Site map
philosophical imaginary
Table of Contents

NewStrBufPlain

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

SYNOPSIS

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

DESCRIPTION

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

PARAMETERS

ParameterDescription
ptrPointer to a C string
ncharsLength 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

Copyright © 1987-2014 Uncensored Communications Group. All rights reserved.     Login (site admin)