HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
setmemwindow(1M) setmemwindow(1M)
RETURN VALUE
The returned exit value is 0 on success or a positive number on failure.
If -n is not specified, the value returned is the exit status of the executed program obtained from the wait-
pid(2) system call.
EXAMPLES
#
# Start the program "myprog" in a memory window extracted by the string
# "myapp".
#
WinId=$(getmemwindow myapp)
setmemwindow -i $WinId myprog arg1 arg2
#
# Start the program "myprog" in a newly created memory window
# extracted by the string "myapp".
#
WinId=$(getmemwindow myapp)
setmemwindow -c -i $WinId myprog arg1 arg2
#
# Start the program "myprog" in an existing memory window
# extracted by the string "myapp".
#
WinId=$(getmemwindow myapp)
setmemwindow -j -i $WinId myprog arg1 arg2
#
# Start the program "myprog" in a private memory window. Only
# "myprog" and its descendents can access the window.
#
setmemwindow myprog arg1 arg2
AUTHOR
setmemwindow was developed by HP.
FILES
/etc/services.window
File containing applications’ associated window ids.
SEE ALSO
getmemwindow(1M), services.window(4), 11.0 Memory Windows White Paper.
HP-UX Release 11i: December 2000 − 3 − Section 1M−−789
___
___