Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include <stdio.h> extern int bar_size; extern char *get_bar (int, int); int main () { char *bar = get_bar (2, 20); if (bar_size == 10 && bar[2] == 20) printf ("OK\n"); return 0; }