stringwrite_canonical_crlf

March 26, 2020 Contributors

Name

stringwrite_canonical_crlf — Write a string terminated by a carriage return and line feed

Synopsis

#include "misc/ec_string.h"

| string * **stringwrite_canonical_crlf** ( | str, |   |
|   | buf, |   |
|   | buflen); |   |

string * <var class="pdparam">str</var>;
const char * <var class="pdparam">buf</var>;
int <var class="pdparam">buflen</var>;

Description

Write a string with the canonical carriage return and line feed indicating a line break.

Parameters

str

An ec_string.

buf

The character array.

buflen

The length of the character array.

Return Values

Return an ec_string with the canonical carriage return and line feed to indicate a line break.

Threading

It is legal to call this function in any thread.

See Also

“string”