mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-11-09 22:08:58 +01:00
23 lines
466 B
C
23 lines
466 B
C
#ifndef __CHARACTER__
|
|
#define __CHARACTER__
|
|
|
|
/**
|
|
* @brief Append a character to a string, assuming string points to an array
|
|
* with enough space.
|
|
*
|
|
* @param string
|
|
* @param character
|
|
*/
|
|
void character_append(char* string, char character);
|
|
|
|
/**
|
|
* @brief Append many characters to a string, assuming string points to an array
|
|
* with enough space.
|
|
*
|
|
* @param string
|
|
* @param characters
|
|
*/
|
|
void character_append_many(char* string, char* characters);
|
|
|
|
#endif
|