afslib.c revision 233294
12116Sjkh/*
22116Sjkh * Copyright (c) 1995, 1996, 1997 Kungliga Tekniska H��gskolan
32116Sjkh * (Royal Institute of Technology, Stockholm, Sweden).
42116Sjkh * All rights reserved.
52116Sjkh *
62116Sjkh * Redistribution and use in source and binary forms, with or without
72116Sjkh * modification, are permitted provided that the following conditions
82116Sjkh * are met:
92116Sjkh *
102116Sjkh * 1. Redistributions of source code must retain the above copyright
112116Sjkh *    notice, this list of conditions and the following disclaimer.
122116Sjkh *
132116Sjkh * 2. Redistributions in binary form must reproduce the above copyright
142116Sjkh *    notice, this list of conditions and the following disclaimer in the
152116Sjkh *    documentation and/or other materials provided with the distribution.
162116Sjkh *
172116Sjkh * 3. Neither the name of the Institute nor the names of its contributors
182116Sjkh *    may be used to endorse or promote products derived from this software
192116Sjkh *    without specific prior written permission.
202116Sjkh *
212116Sjkh * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
222116Sjkh * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
232116Sjkh * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
242116Sjkh * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
252116Sjkh * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
262116Sjkh * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
272116Sjkh * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
282116Sjkh * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
292116Sjkh * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
302116Sjkh * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
312116Sjkh * SUCH DAMAGE.
322116Sjkh */
332116Sjkh
342116Sjkh/*
352116Sjkh * This file is only used with AIX
362116Sjkh */
372116Sjkh
382116Sjkh#include "kafs_locl.h"
392116Sjkh
402116Sjkhint
412116Sjkhaix_pioctl(char *a_path,
422116Sjkh	   int o_opcode,
432116Sjkh	   struct ViceIoctl *a_paramsP,
442116Sjkh	   int a_followSymlinks)
45{
46    return lpioctl(a_path, o_opcode, a_paramsP, a_followSymlinks);
47}
48
49int
50aix_setpag(void)
51{
52    return lsetpag();
53}
54