diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1996-06-03 10:40:39 +0000 | 
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1996-06-03 10:40:39 +0000 | 
| commit | d6c9f122c874d5566b87e031a22fb834a1690a8d (patch) | |
| tree | 06e0e7341e6d2ba361e1423e017f60b19f8128d2 /lib | |
| parent | 916485f4dffa7a7f88aa5dbf9d64ad72b379bf16 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/gen/ftok.3 | 15 | ||||
| -rw-r--r-- | lib/libcompat/SysV/ftok.3 | 15 | 
2 files changed, 12 insertions, 18 deletions
| diff --git a/lib/libc/gen/ftok.3 b/lib/libc/gen/ftok.3 index ed6b95426fd5..4b900ece0acc 100644 --- a/lib/libc/gen/ftok.3 +++ b/lib/libc/gen/ftok.3 @@ -23,7 +23,7 @@  .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF  .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  .\" -.\"	$Id: ftok.3,v 1.2 1996/01/30 18:12:32 mpp Exp $ +.\"	$Id: ftok.3,v 1.3 1996/02/12 07:06:23 mpp Exp $  .Dd June 24, 1994  .Os  .Dt ftok 3 @@ -34,7 +34,7 @@  .Fd #include <sys/types.h>  .Fd #include <sys/ipc.h>  .Ft key_t -.Fn ftok "const char *path" "char id" ; +.Fn ftok "const char *path" "int id" ;  .Sh DESCRIPTION  .Bf -symbolic  This function is available from the compatibility library, libcompat. @@ -70,19 +70,16 @@ does not exist or if it cannot be accessed by the calling process.  .Sh HISTORY  The  .Fn ftok -function originate with System V and is typically used by programs +function originates with System V and is typically used by programs  that use the System V IPC routines.  .Sh AUTHOR  .Bl -tag  Thorsten Lockert <tholo@sigmasoft.com>  .El  .Sh BUGS -The returned key is computed based on the device and inode of the +The returned key is computed based on the device minor number and inode of the  specified  .Fa path -in combination with the given +in combination with the lower 8 bits of the given  .Fa id . -Thus is is quite possible for the routine to return duplicate keys -given that those fields are not 8- and 16-bit quantities like they -were on System V based systems where this library routine's ancestor -were originally created. +Thus is is quite possible for the routine to return duplicate keys. diff --git a/lib/libcompat/SysV/ftok.3 b/lib/libcompat/SysV/ftok.3 index ed6b95426fd5..4b900ece0acc 100644 --- a/lib/libcompat/SysV/ftok.3 +++ b/lib/libcompat/SysV/ftok.3 @@ -23,7 +23,7 @@  .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF  .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  .\" -.\"	$Id: ftok.3,v 1.2 1996/01/30 18:12:32 mpp Exp $ +.\"	$Id: ftok.3,v 1.3 1996/02/12 07:06:23 mpp Exp $  .Dd June 24, 1994  .Os  .Dt ftok 3 @@ -34,7 +34,7 @@  .Fd #include <sys/types.h>  .Fd #include <sys/ipc.h>  .Ft key_t -.Fn ftok "const char *path" "char id" ; +.Fn ftok "const char *path" "int id" ;  .Sh DESCRIPTION  .Bf -symbolic  This function is available from the compatibility library, libcompat. @@ -70,19 +70,16 @@ does not exist or if it cannot be accessed by the calling process.  .Sh HISTORY  The  .Fn ftok -function originate with System V and is typically used by programs +function originates with System V and is typically used by programs  that use the System V IPC routines.  .Sh AUTHOR  .Bl -tag  Thorsten Lockert <tholo@sigmasoft.com>  .El  .Sh BUGS -The returned key is computed based on the device and inode of the +The returned key is computed based on the device minor number and inode of the  specified  .Fa path -in combination with the given +in combination with the lower 8 bits of the given  .Fa id . -Thus is is quite possible for the routine to return duplicate keys -given that those fields are not 8- and 16-bit quantities like they -were on System V based systems where this library routine's ancestor -were originally created. +Thus is is quite possible for the routine to return duplicate keys. | 
