From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- unix/os/dio.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 unix/os/dio.c (limited to 'unix/os/dio.c') diff --git a/unix/os/dio.c b/unix/os/dio.c new file mode 100644 index 00000000..3da16505 --- /dev/null +++ b/unix/os/dio.c @@ -0,0 +1,9 @@ +/* + * DIO.C -- Stubbed out version of directio for compatibility on systems + * that don't provide this routine in libc.a (e.g., Solaris 5.5). + */ +int +directio (int fd, int advice) +{ + return (-1); +} -- cgit