mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-12 08:46:12 +00:00

This is the conclusion of an effort to get LLDB's Python code structured into a bona-fide Python package. This has a number of benefits, but most notably the ability to more easily share Python code between different but related pieces of LLDB's Python infrastructure (for example, `scripts` can now share code with `test`). llvm-svn: 251532
14 lines
266 B
C
14 lines
266 B
C
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
/* This program writes its arguments (separated by '\0') to stdout. */
|
|
int
|
|
main(int argc, char const *argv[])
|
|
{
|
|
int i;
|
|
for (i = 1; i < argc; ++i)
|
|
fwrite(argv[i], strlen(argv[i])+1, 1, stdout);
|
|
|
|
return 0;
|
|
}
|