ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
string.h File Reference

Platform-independent safe string functions. More...

Go to the source code of this file.

Functions

Safe String Formatting Functions
int safe_snprintf (char *buffer, size_t buffer_size, const char *format,...)
 Safe version of snprintf that ensures null termination.
 
int safe_fprintf (FILE *stream, const char *format,...)
 Safe version of fprintf.
 
char * platform_strcat (char *dest, size_t dest_size, const char *src)
 Safe version of strcat with buffer size protection.
 
int safe_sscanf (const char *str, const char *format,...)
 Safe version of sscanf with validation.
 

Detailed Description

Platform-independent safe string functions.

Definition in file platform/string.h.