incomp-flame-post/code/print_build_info.c
2019-05-22 02:34:09 +09:00

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++;
}
}