make_shared_binary_string

[ Start > PikeDevel > C Modules > make_shared_binary_string ] [ Edit this Page | Show Page Versions | Show Raw Source ]


NAME

make_shared_binary_string - make a shared string

SYNTAX

#include "stralloc.h"

struct pike_string *make_shared_binary_string(const char *str, int len);

DESCRIPTION

This function makes a shared string from the memory area beginning at 'str' and ends at str+len. The returned string will have one extra reference.

KEYWORDS

pike_string

SEE ALSO make_shared_string, begin_shared_string, push_string, free_string


Powered by PikeWiki2

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