apio
aca1367158
Surprisingly, most uses of strncpy() are in places where strncpy() is actually a better choice. For example, copying to a fixed-length char array in a structure.
5 lines
121 B
C
5 lines
121 B
C
#pragma once
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
void get_symbol_name(uintptr_t address, char* buffer, size_t size); |