ftok.3 (98e0ffaefb0f241cda3a72395d3be04192ae0d47) | ftok.3 (a6d40b0ad2c51e16a8c99750d5ed6f9aea2be7d4) |
---|---|
1.\" Copyright (c) 1994 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 19.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 20.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 21.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 22.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 23.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 24.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\" 26.\" $FreeBSD$ | 1.\" Copyright (c) 1994 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 19.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 20.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 21.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 22.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 23.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 24.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\" 26.\" $FreeBSD$ |
27.Dd July 9, 2009 | 27.Dd November 28, 2022 |
28.Dt FTOK 3 29.Os 30.Sh NAME 31.Nm ftok 32.Nd create IPC identifier from path name 33.Sh LIBRARY 34.Lb libc 35.Sh SYNOPSIS | 28.Dt FTOK 3 29.Os 30.Sh NAME 31.Nm ftok 32.Nd create IPC identifier from path name 33.Sh LIBRARY 34.Lb libc 35.Sh SYNOPSIS |
36.In sys/types.h | |
37.In sys/ipc.h 38.Ft key_t 39.Fn ftok "const char *path" "int id" 40.Sh DESCRIPTION 41The 42.Fn ftok 43function attempts to create a unique key suitable for use with the 44.Xr msgget 2 , --- 39 unchanged lines hidden --- | 36.In sys/ipc.h 37.Ft key_t 38.Fn ftok "const char *path" "int id" 39.Sh DESCRIPTION 40The 41.Fn ftok 42function attempts to create a unique key suitable for use with the 43.Xr msgget 2 , --- 39 unchanged lines hidden --- |