diff options
| author | cvs2svn <admin@example.com> | 2018-11-07 01:08:50 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2018-11-07 01:08:50 +0000 |
| commit | 2035faf3f8aa95b888d9416c3cc7328c0ea18beb (patch) | |
| tree | f08a08d357c5d30455c569890f747c1d9b241316 /src/regress/lib/libc/getcap/getcaptest.c | |
| parent | be03b61c1b8f59ccdd34dbe5f6c6b30de697d28b (diff) | |
| download | openbsd-bluhm_20181106.tar.gz openbsd-bluhm_20181106.tar.bz2 openbsd-bluhm_20181106.zip | |
This commit was manufactured by cvs2git to create tag 'bluhm_20181106'.bluhm_20181106
Diffstat (limited to 'src/regress/lib/libc/getcap/getcaptest.c')
| -rw-r--r-- | src/regress/lib/libc/getcap/getcaptest.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/regress/lib/libc/getcap/getcaptest.c b/src/regress/lib/libc/getcap/getcaptest.c deleted file mode 100644 index 0f4464b6c5..0000000000 --- a/src/regress/lib/libc/getcap/getcaptest.c +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | /* $OpenBSD: getcaptest.c,v 1.1 2006/03/10 05:28:57 ray Exp $ */ | ||
| 2 | |||
| 3 | /* | ||
| 4 | * Written by Raymond Lai <ray@cyth.net>. | ||
| 5 | * Public domain. | ||
| 6 | */ | ||
| 7 | |||
| 8 | #include <stdio.h> | ||
| 9 | #include <stdlib.h> | ||
| 10 | |||
| 11 | int | ||
| 12 | main(int argc, char *argv[]) | ||
| 13 | { | ||
| 14 | char *buf, *db_array[2]; | ||
| 15 | |||
| 16 | if (argc != 2) | ||
| 17 | return (1); | ||
| 18 | |||
| 19 | db_array[0] = argv[1]; | ||
| 20 | db_array[1] = NULL; | ||
| 21 | |||
| 22 | while (cgetnext(&buf, db_array) > 0) | ||
| 23 | puts(buf); | ||
| 24 | |||
| 25 | return (0); | ||
| 26 | } | ||
