sdgetv man page on Xenix

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



     SDGETV(S)		      XENIX System V		     SDGETV(S)

     Name
	  sdgetv, sdwaitv - Synchronizes shared data access.

     Syntax
	  #include <sys/sd.h>

	  int sdgetv(addr)
	  int sdwaitv(addr, vnum)
	  char *addr;
	  int vnum;

     Description
	  sdgetv and sdwaitv may be used to synchronize cooperating
	  processes that are using shared data segments.  The return
	  value of both routines is the version number of the shared
	  data segment attached to the process at address addr. The
	  version number of a segment changes whenever some process
	  does an sdleave for that segment.

	  sdgetv simply returns the version number of the indicated
	  segment.

	  sdwaitv forces the current process to sleep until the
	  version number for the indicated segment is no longer equal
	  to vnum.

     Return Value
	  Upon successful completion, both sdgetv and sdwaitv return a
	  positive integer that is the current version number for the
	  indicated shared data segment.  Otherwise, a value of -1 is
	  returned, and errno is set to indicate the error.

     See Also
	  sdenter(S), sdget(S)

     Notes
	  This routine must be linked using the linker option -lx.

     Page 1					      (printed 8/7/87)

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Xenix

List of man pages available for Xenix

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