SDDSlib
|
Provides functionality to manipulate and format strings. More...
#include "mdb.h"
Go to the source code of this file.
Functions | |
char * | pad_with_spaces (char *s, int n) |
Adds a specified number of spaces to the end of a string. | |
Provides functionality to manipulate and format strings.
Definition in file pad_with_spaces.c.
char * pad_with_spaces | ( | char * | s, |
int | n ) |
Adds a specified number of spaces to the end of a string.
This function appends n
spaces to the end of the input string s
.
s | Pointer to the null-terminated string to be padded. |
n | The number of spaces to add to the end of the string. |
s
. Definition at line 27 of file pad_with_spaces.c.