From 642827248322add0cdaac6cf516f32c5c804a8e9 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 4 Jul 2017 05:35:57 +0200 Subject: Add bff-flip, bff-flop, bff-rotate-90, bff-rotate-180, bff-rotate-270, and bff-transpose MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- bff-flop.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 bff-flop.c (limited to 'bff-flop.c') diff --git a/bff-flop.c b/bff-flop.c new file mode 100644 index 0000000..8724b08 --- /dev/null +++ b/bff-flop.c @@ -0,0 +1,23 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" + +USAGE("") + +int +main(int argc, char *argv[]) +{ + pid_t pid; + + UNOFLAGS(argc); + + bff_begin(); + + pid = bff_run((const char *[]){ "blind-flop", NULL }, + STDIN_FILENO, STDOUT_FILENO); + + bff_wait(pid, "blind-flop"); + + bff_end(); + + return 0; +} -- cgit v1.2.3-70-g09d2