File: test-001-pre.c

package info (click to toggle)
bar 1.11.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 928 kB
  • sloc: ansic: 4,381; sh: 3,334; makefile: 264
file content (23 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "config.h"

#include "headers.h"

int main(int argc, char *argv[])
{
	int out = 0;
	char *buffer = "Hello World\n";
#ifdef DEBUG
	int debug = 1;

	while (debug);
#endif

	out = STDOUT_FILENO;
	write(out, buffer, strlen(buffer));
	sleep(5);
	write(out, buffer, strlen(buffer));
	close(out);

	return(0);
}