cvs commit: src/lib/libc/sys pipe.2 src/sys/kern sys_pipe.c

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Mon, 30 Jan 2006 08:25:05 +0000 (UTC)
glebius     2006-01-30 08:25:04 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/sys         pipe.2 
    sys/kern             sys_pipe.c 
  Log:
  - In pipe() return the error returned by pipe_create(), rather then
    hardcoded ENFILES, which is incorrect. pipe_create() can fail due
    to ENOMEM.
  - Update manual page, describing ENOMEM return code.
  
  Reviewed by:    arch
  
  Revision  Changes    Path
  1.22      +3 -1      src/lib/libc/sys/pipe.2
  1.186     +3 -2      src/sys/kern/sys_pipe.c
Received on Mon Jan 30 2006 - 08:25:05 UTC