#include "unify.h" int Get_Updates(int seg_id); Get_Updates retrieves the most recent copy of the segment specified
by seg_id. The data may not actually retreived until the segment
is accessed.
Get_Updates returns 0 on success. Otherwise, a value of -1
is returned.
An error will occur if seg_id is invalid.
If LAZY_GET_UPDATES is defined in config.h
when the Unify library is comiled, the segment updates are not
retrieved until the first segment access that follows the
Get_Updates. Otherwise, the process has the most recent
copy of the segment upon return of Get_Updates(3).
LAZY_GET_UPDATES is defined by default.
Simultaneous use of Get_Updates(3) and
Put_Updates(3) on the same segment is currently
undefined.