![]() |
librnr
1.14.5
RoadNarrows Robotics Common Library 1
|
Windows functions for linux. More...
#include "rnr/rnrconfig.h"#include "rnr/new.h"#include <sys/types.h>#include <stdio.h>#include <string.h>Go to the source code of this file.
Functions | |
| char * | strcpy_s (char *dest, size_t n, const char *src) |
| Copy source string to destinations string. At most n bytes will be copied. The destination string is guaranteed to be null terminated. More... | |
| int | sprintf_s (char *str, size_t n, const char *format,...) |
| Format print to string up to n-1 characters. String is guaranteed to be null terminated. More... | |
Windows functions for linux.
Definition in file win.c.
| int sprintf_s | ( | char * | str, |
| size_t | n, | ||
| const char * | format, | ||
| ... | |||
| ) |
Format print to string up to n-1 characters. String is guaranteed to be null terminated.
| str | Destination string buffer. |
| n | Size of string buffer. |
| format | Standard printf formatting string. |
| ... | Variable argument list. |
Definition at line 83 of file win.c.
Referenced by delete().
| char* strcpy_s | ( | char * | dest, |
| size_t | n, | ||
| const char * | src | ||
| ) |
Copy source string to destinations string. At most n bytes will be copied. The destination string is guaranteed to be null terminated.
| dest | Pointer to destination string. |
| n | Maximum number of bytes to copy. |
| src | Pointer to source string. |
Definition at line 65 of file win.c.
Referenced by delete().