segread man page on Xenix

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



     SEGREAD(DOS)	      XENIX System V		  SEGREAD(DOS)

     Name
	  segread - command description

     Syntax
	  #include <dos.h>

	  void segread (segregs);
	  struct SREGS *segregs;

     Description
	  The segread function fills the structure pointed to by
	  segregs with the current contents of the segment registers.
	  The function is intended to be used with the intdosx and
	  int86x functions to retrieve segment register values for
	  later use.

     Return Value
	  There is no return value.

     See Also
	  intdosx(DOS), int86x(DOS), FP_SEG(DOS)

     Example
	  #include <dos.h>

	  struct SREGS segregs; unsigned int cs, ds, es, ss;

	  /* The following statements get the current values of ** the
	  segment registers.  */

	  segread (&segregs); cs = segregs.cs; ds = segregs.ds; es =
	  segregs.es; ss = segregs.ss;

     Notes
	  This call must be compiled with the -dos flag.

     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