亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: FreeBSD man sem_open 的錯(cuò)誤 [打印本頁(yè)]

作者: mymtom    時(shí)間: 2007-12-21 11:08
標(biāo)題: FreeBSD man sem_open 的錯(cuò)誤
系統(tǒng)FreeBSD 8.0-CURRENT-200712 man sem_open發(fā)現(xiàn)一個(gè)錯(cuò)誤:

  1. SEM_OPEN(3)            FreeBSD Library Functions Manual            SEM_OPEN(3)

  2. NAME
  3.      sem_open, sem_close, sem_unlink -- named semaphore operations

  4. LIBRARY
  5.      Standard C Library (libc, -lc)

  6. SYNOPSIS
  7.      #include <semaphore.h>
  8. ...
  9.      [ENOENT]           O_CREAT is set but the named semaphore does not exist.
復(fù)制代碼

http://www.freebsd.org/cgi/man.c ... ASE&format=html

正確的描述應(yīng)該是:

  1. [ENOENT]
  2. O_CREAT is not set and the named semaphore does not exist.
復(fù)制代碼

http://www.opengroup.org/onlinep ... tions/sem_open.html
作者: snnn    時(shí)間: 2007-12-21 21:17
去send-pr交一個(gè)bug report吧
作者: xiaoshi20cn    時(shí)間: 2007-12-21 21:24
居然能抓到蟲子,應(yīng)該是蟲科圣手吧
作者: mymtom    時(shí)間: 2007-12-21 22:09
原帖由 snnn 于 2007-12-21 21:17 發(fā)表
去send-pr交一個(gè)bug report吧

以前不知道可以這樣的。
作者: gtuiw    時(shí)間: 2007-12-21 22:53
原帖由 mymtom 于 2007-12-21 11:08 發(fā)表
系統(tǒng)FreeBSD 8.0-CURRENT-200712 man sem_open發(fā)現(xiàn)一個(gè)錯(cuò)誤:

SEM_OPEN(3)            FreeBSD Library Functions Manual            SEM_OPEN(3)

NAME
     sem_open, sem_close, sem_unlink -- named  ...


不是啊,我的也是FreeBSD 8.0-CURRENT-200712,不過(guò)我的顯示是:

  1. O_CREAT  Create the semaphore if it does not already exist.
復(fù)制代碼

作者: mymtom    時(shí)間: 2007-12-22 22:19
原帖由 gtuiw 于 2007-12-21 22:53 發(fā)表


不是啊,我的也是FreeBSD 8.0-CURRENT-200712,不過(guò)我的顯示是:

O_CREAT  Create the semaphore if it does not already exist.


往下面看:

  1. ERRORS
  2.      The sem_open() function will fail if:
  3. ......
  4.      [ENOENT]           O_CREAT is set but the named semaphore does not exist.
復(fù)制代碼





歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2