mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-10-03 20:55:15 +00:00
7ec020a057
delimiters.
18 lines
283 B
C
18 lines
283 B
C
|
|
#include <stdio.h>
|
|
|
|
void c_port_open(void);
|
|
void c_port_write(char *, int);
|
|
void c_port_close(void);
|
|
|
|
char buffer[] = {"This is a simple test...\n"};
|
|
|
|
int main(int argc, char * argv[])
|
|
{
|
|
c_port_open();
|
|
c_port_write(&buffer[0], (int) 25);
|
|
c_port_close();
|
|
exit(0);
|
|
}
|
|
|