get_futex_key man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

GET_FUTEX_KEY(9)	      Futex API reference	      GET_FUTEX_KEY(9)

NAME
       get_futex_key - Get parameters which are the keys for a futex

SYNOPSIS
       int get_futex_key(u32 __user * uaddr, int fshared,
			 union futex_key * key, int rw);

ARGUMENTS
       uaddr
	   virtual address of the futex

       fshared
	   0 for a PROCESS_PRIVATE futex, 1 for PROCESS_SHARED

       key
	   address where result is stored.

       rw
	   mapping needs to be read/write (values: VERIFY_READ, VERIFY_WRITE)

RETURN
       a negative error code or 0

       The key words are stored in *key on success.

       For shared mappings, it's (page->index, file_inode(vma->vm_file),
       offset_within_page). For private mappings, it's (uaddr, current->mm).
       We can usually work out the index without swapping in the page.

       lock_page might sleep, the caller should not hold a spinlock.

AUTHOR
       Rusty Russell <rusty@rustcorp.com.au>
	   Author.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		      GET_FUTEX_KEY(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net