ss_string_enable_gc(3) - Linux man page

Name

ss_string_enable_gc - enables the usage of the garbage collector

Synopsis

#include <sstrings2.h>

Linking with -lsstrings2

int ss_string_enable_gc(void);

Description

ss_string_enable_gc enables the usage of the garbage collector. You don't need to free memory anymore.

NOTE: this is an experimental gargabe collector and should be used at your own risk. Do not use this function if your program has already executed a ss_string function. Use it at the top of every program.

You may use ss_string_free(3) and ss_string_gc_free(3) if the garbage collector is enabled.

Your programs will use more memory when you use ss_string_enable_gc

Returning value

ss_string_enable_gc returns 0 if the garbage collector cannot be initialized, 1 otherwise.

Bugs

Please

send your bug reports to yanezp@informatik.uni-freiburg.de

See Also

ss_string_free(3), ss_string_gc_free(3)

Referenced By

sstrings2(5)