このページを編集する際は、編集に関する方針に従ってください。

概要

実装

typedef struct StringInfoData {

	char	   *data;
	int			len;
	int			maxlen;
	int			cursor;

} StringInfoData;

呼出元

備考

/*-------------------------
* StringInfoData holds information about an extensible string.
*		data	is the current buffer for the string (allocated with palloc).
*		len		is the current string length.  There is guaranteed to be
*				a terminating '\0' at data[len], although this is not very
*				useful when the string holds binary data rather than text.
*		maxlen	is the allocated size in bytes of 'data', i.e. the maximum
*				string size (including the terminating '\0' char) that we can
*				currently store in 'data' without having to reallocate
*				more space.  We must always have maxlen > len.
*		cursor	is initialized to zero by makeStringInfo or initStringInfo,
*				but is not otherwise touched by the stringinfo.c routines.
*				Some routines use it to scan through a StringInfo.
*-------------------------
*/

履歴

コメント



*1 99333685+99333685
*2 99333685+99333685
*3 99333685+99333685

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS