File: sysisc.c

package info (click to toggle)
ibcs 971113-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,108 kB
  • ctags: 2,061
  • sloc: ansic: 14,910; makefile: 280; sh: 203; asm: 47; perl: 18; pascal: 2
file content (38 lines) | stat: -rw-r--r-- 709 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 *  isc_sysisc.c     --- enable ISC 4.0 executables (posix setostype)
 *
 *  some changes also done to callmap.inc: readlink, symlink, lstat
 *	 entry point numbers are differing from SYSVr4
 *
 *	1994-05-06 Karl Kiniger (ki@kretz.co.at)
 *
 */

#include <linux/config.h>

#include <linux/module.h>
#include <linux/version.h>

#include <linux/types.h>
#include <linux/errno.h>
#include <linux/sockios.h>
#include <linux/kernel.h>

#include <ibcs/ibcs.h>

#ifdef IBCS_TRACE
#include <ibcs/trace.h>
#endif


int
isc_setostype(int arg1)
{
#ifdef IBCS_TRACE
	if ((ibcs_trace & TRACE_API) || ibcs_func_p->trace) {
		printk(KERN_DEBUG "iBCS: sysisc: %s 0x%x\n",
			"ISC_SETOSTYPE", arg1);
	}
#endif
	return 0;
}