mach_swapon man page on OPENSTEP

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


MACH_SWAPON(2)							MACH_SWAPON(2)

NAME
       mach_swapon - add a file for system paging/swapping.

SYNOPSIS
       #include <sys/mach_swapon.h>

       mach_swapon(file, flags, lowat, hiwat)
       char *file;
       unsigned int flags;
       int lowat;
       int hiwat;

DESCRIPTION
       Mach_swapon makes file available to the system for paging and swapping.
       The available flags are:

       MF_PREFER      This is a "preferred" paging file which means that space
		      will  be allocated out of it before non-preferred paging
		      files until it is full.

       Lowat specifies the low water mark for the file's size.	If it is  non-
       zero, pager will attempt to shrink the size of the file down to the low
       water mark as it frees paging resources.	 If it is zero, the file  will
       never shrink.  Hiwat specifies the high water mark for the file's size.
       If it is non-zero, the pager will not allow the	paging	file  to  grow
       above  the high water mark.  If it is zero, the file will grow as large
       as need be.

RETURN VALUE
       If an error has occured, mach_swapon  will  return  the	error  number,
       otherwise it will return 0.

SEE ALSO
       mach_swapon(8)

NeXT Computer, Inc.		 March 1, 1989			MACH_SWAPON(2)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OPENSTEP

List of man pages available for OPENSTEP

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