19 lines
422 B
C
19 lines
422 B
C
extern const char _binary_build_info_txt_start [];
|
|
extern const char _binary_build_info_txt_end [];
|
|
extern const char _binary_build_info_txt_size [];
|
|
|
|
void cstr_( char *s, unsigned long b )
|
|
{
|
|
int count = 0;
|
|
char* p = &_binary_build_info_txt_start;
|
|
|
|
while ( p != &_binary_build_info_txt_end && count < b )
|
|
{
|
|
s[count++] = *p++;
|
|
}
|
|
|
|
while ( count < b )
|
|
{
|
|
s[count++] = ' ';
|
|
}
|
|
}
|