From d43d5b206ae3393a19b21c36d2b8ba443ed0e121 Mon Sep 17 00:00:00 2001 From: Nathan Vance Date: Wed, 18 Feb 2015 19:51:17 -0500 Subject: Added a view for the hand --- util.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'util.c') diff --git a/util.c b/util.c index 829e7d1..93c5904 100644 --- a/util.c +++ b/util.c @@ -26,6 +26,12 @@ char* get_chararray(int size) return ret; } +void array_cpy(int *a, int *b, int len) //copies b to a +{ + int i; + for(i = 0; i < len; i++) a[i] = b[i]; +} + /* In string a[], replace nth occerence of x[] with y[], or all occerences if n == 0. Note '.' is wild and the last . replaced will be returned. */ -- cgit