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
|
// Generated by gen_lib.pl
#include "../../tests/type_tests.h"
#include "../../misc/lsb_output.h"
#include <termios.h>
#include <sys/ioctl.h>
#include <pty.h>
#undef openpty
static int(*funcptr) (int * , int * , char * , struct termios * , struct winsize * ) = 0;
extern int __lsb_check_params;
int openpty (int * arg0 , int * arg1 , char * arg2 , struct termios * arg3 , struct winsize * arg4 )
{
int reset_flag = __lsb_check_params;
int ret_value ;
if(!funcptr)
funcptr = dlvsym(RTLD_NEXT, "openpty", "GLIBC_2.0");
if(__lsb_check_params)
{
__lsb_check_params=0;
__lsb_output(4, "openpty()");
validate_RWaddress( arg0, "openpty - arg0");
validate_NULL_TYPETYPE( arg0, "openpty - arg0");
validate_RWaddress( arg1, "openpty - arg1");
validate_NULL_TYPETYPE( arg1, "openpty - arg1");
validate_RWaddress( arg2, "openpty - arg2");
validate_NULL_TYPETYPE( arg2, "openpty - arg2");
validate_RWaddress( arg3, "openpty - arg3");
validate_NULL_TYPETYPE( arg3, "openpty - arg3");
validate_RWaddress( arg4, "openpty - arg4");
validate_NULL_TYPETYPE( arg4, "openpty - arg4");
}
ret_value = funcptr(arg0, arg1, arg2, arg3, arg4);
__lsb_check_params = reset_flag;
return ret_value;
}
|