File: step.c

package info (click to toggle)
lsb-appchk3 3.2.2-1.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 157,336 kB
  • ctags: 17,415
  • sloc: ansic: 528,541; cpp: 5,641; perl: 3,051; makefile: 801; xml: 702; python: 302; sh: 205; awk: 42
file content (24 lines) | stat: -rw-r--r-- 493 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Generated by gen_lib.pl

#include "../../tests/type_tests.h"
#include <dlfcn.h>
#include <regexp.h>
#undef step
static int(*funcptr) (char * , char * ) = 0;

int step (char * arg0 , char * arg1 )
{
	if(!funcptr)
		funcptr = dlsym(RTLD_NEXT, "step");
	validate_NULL_TYPETYPE(arg0, "step");
	validate_NULL_TYPETYPE(arg1, "step");
	return funcptr(arg0, arg1);
}

int __lsb_step (char * arg0 , char * arg1 )
{
	if(!funcptr)
		funcptr = dlsym(RTLD_NEXT, "step");
	return funcptr(arg0, arg1);
}