⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fifo

📁 实战Linux编程的原代码,希望对学驱动的人能有所帮助
💻
字号:
#!/bin/sh# Make sure touch works on fifos without hanging.if test "$VERBOSE" = yes; then  set -x  touch --versionfiframework_failure=0tmp=fifo-$$rm -rf $tmpmkfifo $tmp || framework_failure=1if test $framework_failure = 1; then  # Make an exception of this case -- usually we interpret framework-creation  # failure as a test failure.  However, in this case, when running on a SunOS  # system using a disk NFS mounted from OpenBSD, the above fails like this:  # mkfifo: cannot make fifo `fifo-10558': Not owner  echo '********************************************'  echo 'NOTICE: unable to create test prerequisites'  echo '********************************************'  exit 77fifail=0touch $tmp || fail=1rm -rf $tmpexit $fail

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -