begin_shared_string

[ Start > PikeDevel > C Modules > begin_shared_string ] [ Edit this Page | Show Page Versions | Show Formatted ]


__NAME__

        begin_shared_string - allocate space for a shared string

__SYNTAX__

        #include "stralloc.h"

        struct pike_string *begin_shared_string(INT32 len);

__DESCRIPTION__

        This function allocates space for a shared string of length 'len'.
        You should then MEMCPY 'len' bytes into the s->str. (s being the
        returned value) And then call end_shared_string.

__KEYWORDS__
        pike_string

__SEE ALSO__
        [PikeDevel/C Modules/end_shared_string], [PikeDevel/C Modules/make_shared_string]

Powered by PikeWiki2

 
gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University