Listing 5 shows the createPipe subroutine used to create a nonblocking link to the xev monitoring program, as well as the printHeader subroutine, which prints the data header information to STDERR.
清单5显示了用于创建与xev监视程序之间的非阻塞链接的createpipe子例程,以及用于将数据头信息输出到STDERR中的printheader子例程。
Listing 5 shows the createPipe subroutine used to create a nonblocking link to the xev monitoring program, as well as the printHeader subroutine, which prints the data header information to STDERR.
清单5显示了用于创建与xev监视程序之间的非阻塞链接的createpipe子例程,以及用于将数据头信息输出到STDERR中的printheader子例程。
应用推荐