getuid.c revision 302408
1179838Sdavidxu/* 2179840Sed * Copyright (c) 1995, 1996, 1997 Kungliga Tekniska H��gskolan 3179838Sdavidxu * (Royal Institute of Technology, Stockholm, Sweden). 4179838Sdavidxu * All rights reserved. 5179838Sdavidxu * 6179838Sdavidxu * Redistribution and use in source and binary forms, with or without 7179838Sdavidxu * modification, are permitted provided that the following conditions 8179838Sdavidxu * are met: 9179838Sdavidxu * 10179838Sdavidxu * 1. Redistributions of source code must retain the above copyright 11179838Sdavidxu * notice, this list of conditions and the following disclaimer. 12179838Sdavidxu * 13179838Sdavidxu * 2. Redistributions in binary form must reproduce the above copyright 14179838Sdavidxu * notice, this list of conditions and the following disclaimer in the 15179838Sdavidxu * documentation and/or other materials provided with the distribution. 16179838Sdavidxu * 17179838Sdavidxu * 3. Neither the name of the Institute nor the names of its contributors 18179838Sdavidxu * may be used to endorse or promote products derived from this software 19179838Sdavidxu * without specific prior written permission. 20179838Sdavidxu * 21179838Sdavidxu * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 22179838Sdavidxu * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23179838Sdavidxu * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24179838Sdavidxu * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 25179838Sdavidxu * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26179838Sdavidxu * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27179838Sdavidxu * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28179838Sdavidxu * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29179838Sdavidxu * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30179838Sdavidxu * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31179838Sdavidxu * SUCH DAMAGE. 32223907Sjilles */ 33179838Sdavidxu 34179838Sdavidxu#include <config.h> 35179838Sdavidxu#include "roken.h" 36179838Sdavidxu 37179838Sdavidxu#ifndef HAVE_GETUID 38179838Sdavidxu 39179838SdavidxuROKEN_LIB_FUNCTION int ROKEN_LIB_CALL 40179838Sdavidxugetuid(void) 41179838Sdavidxu{ 42179838Sdavidxu return 17; 43179947Sed} 44179838Sdavidxu 45179838Sdavidxu#endif 46179838Sdavidxu