print_function in xlib