Print a screen packet to a specified file.
#include <screen/screen.h>
int screen_print_packet(int type, void *packet, FILE *fd)
The type of packet to be printed. The packet must be of type Screen_Packet_Types.
The address of the packet to be printed.
The file object where the packet is to be printed to.
Function Type: Immediate Execution
This function prints out the information relevant to the specified packet to a specified file.
0 if the operation was successful, or -1 if an error occurred (errno is set; refer to /usr/include/errno.h for more details).