aboutsummaryrefslogtreecommitdiff
path: root/exam00/rendu/only_z
diff options
context:
space:
mode:
Diffstat (limited to 'exam00/rendu/only_z')
-rwxr-xr-xexam00/rendu/only_z/only_z.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/exam00/rendu/only_z/only_z.c b/exam00/rendu/only_z/only_z.c
new file mode 100755
index 0000000..08ab66b
--- /dev/null
+++ b/exam00/rendu/only_z/only_z.c
@@ -0,0 +1,8 @@
+#include <unistd.h>
+
+int main(void)
+{
+ char z = 'z';
+ write(1, &z, 1);
+ return 0;
+}