25 lines
478 B
C
25 lines
478 B
C
#include <stdio.h>
|
|
|
|
extern const char _binary_build_info_txt_start [];
|
|
extern const char _binary_build_info_txt_end [];
|
|
|
|
void print_data_ ()
|
|
{
|
|
char* p = &_binary_build_info_txt_start;
|
|
|
|
while ( p != &_binary_build_info_txt_end ) putchar(*p++);
|
|
}
|
|
/*
|
|
*/
|
|
|
|
|
|
void cstr_( char *s, int *b )
|
|
{ /* return n copies of arg */
|
|
|
|
int count = 0;
|
|
char* p = &_binary_build_info_txt_start;
|
|
while ( p != &_binary_build_info_txt_end )
|
|
{
|
|
s[count++] = *p++;
|
|
}
|
|
}
|