open.c (f49c9eec535b7f80c7b17854e75f86f655d7d922) open.c (ce02ffaf2ad163b6837395f8379d6adf57a6bc3b)
1/*
2 * Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * Redistribution of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
25 * OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL
26 * SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA,
27 * OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR
28 * PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF
29 * LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE,
30 * EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
31 */
1/*
2 * Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * Redistribution of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
25 * OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL
26 * SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA,
27 * OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR
28 * PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF
29 * LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE,
30 * EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
31 */
32#define _POSIX_SOURCE
32
33#include <stdio.h>
34#include <fcntl.h>
35#include <unistd.h>
36#include <sys/ioctl.h>
37#include <errno.h>
38#include <stdlib.h>
39#include <string.h>
40#include <sys/types.h>
33
34#include <stdio.h>
35#include <fcntl.h>
36#include <unistd.h>
37#include <sys/ioctl.h>
38#include <errno.h>
39#include <stdlib.h>
40#include <string.h>
41#include <sys/types.h>
42#include <sys/select.h>
41#include <sys/stat.h>
42
43#include <ipmitool/ipmi.h>
44#include <ipmitool/ipmi_intf.h>
45#include <ipmitool/helper.h>
46#include <ipmitool/log.h>
47
48#if defined(HAVE_CONFIG_H)

--- 396 unchanged lines hidden ---
43#include <sys/stat.h>
44
45#include <ipmitool/ipmi.h>
46#include <ipmitool/ipmi_intf.h>
47#include <ipmitool/helper.h>
48#include <ipmitool/log.h>
49
50#if defined(HAVE_CONFIG_H)

--- 396 unchanged lines hidden ---