X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/9385eb3d10ebe5eb398c52040ec3dbfba9b0cdcf..7b00c0c43f52e9d27168e67a26aac19065cdb40c:/gen/FreeBSD/ftok.3 diff --git a/gen/FreeBSD/ftok.3 b/gen/FreeBSD/ftok.3 index 2359013..e904beb 100644 --- a/gen/FreeBSD/ftok.3 +++ b/gen/FreeBSD/ftok.3 @@ -23,8 +23,8 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/gen/ftok.3,v 1.15 2002/10/19 13:33:12 tjr Exp $ -.Dd June 24, 1994 +.\" $FreeBSD: src/lib/libc/gen/ftok.3,v 1.17 2009/07/13 12:53:43 trasz Exp $ +.Dd July 9, 2009 .Os .Dt FTOK 3 .Sh NAME @@ -41,7 +41,7 @@ The .Fn ftok function attempts to create a unique key suitable for use with the -.Xr msgget 3 , +.Xr msgget 2 , .Xr semget 2 and .Xr shmget 2 @@ -53,7 +53,8 @@ of an existing file and a user-selectable The specified .Fa path must specify an existing file that is accessible to the calling process -or the call will fail. Also, note that links to files will return the +or the call will fail. +Also, note that links to files will return the same key, given the same .Fa id . .Sh RETURN VALUES @@ -65,7 +66,7 @@ does not exist or if it cannot be accessed by the calling process. .Sh SEE ALSO .Xr semget 2 , .Xr shmget 2 , -.Xr msgget 3 +.Xr msgget 2 .Sh HISTORY The .Fn ftok