|
SDDS ToolKit Programs and Libraries for C and Python
|
Provides functionality to perform backspace operations by a specified number of characters.
Definition in file backspace.c.
#include "mdb.h"Go to the source code of this file.
Functions | |
| void | backspace (long n) |
| Backspace by a specified number of characters. | |
| void backspace | ( | long | n | ) |
Backspace by a specified number of characters.
This function outputs a specified number of backspace characters (\b) to the standard output. It dynamically allocates and reuses a buffer to store the backspace characters, optimizing memory usage for repeated calls with varying numbers of backspaces.
| n | The number of characters to backspace. |
Definition at line 26 of file backspace.c.