libsc  2.8.7
The SC library provides support for parallel scientific applications.
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
sc_string Struct Reference

This is a simple type for growing a string by printf-like commands. More...

#include <sc_string.h>

Data Fields

int printed
 Opaque object: do not access.
 
char buffer [SC_STRING_SIZE]
 Opaque object: do not access.
 

Detailed Description

This is a simple type for growing a string by printf-like commands.

It is public so it can be declared on the stack to avoid malloc and free. This means that the length of the string is limited to SC_STRING_SIZE - 1. The current string can be accessed by sc_string_get_content. This is really an opaque object: its members shall not be accessed directly.


The documentation for this struct was generated from the following file: