File: rflat.2

package info (click to toggle)
lam 7.1.4-8
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 56,404 kB
  • sloc: ansic: 156,541; sh: 9,991; cpp: 7,699; makefile: 5,621; perl: 488; fortran: 260; asm: 83
file content (58 lines) | stat: -rw-r--r-- 1,186 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.TH RFLAT 2 "July, 2007" "LAM 7.1.4" "LAM REMOTE LIBRARY"
.SH NAME
rflat \- Tag and load storage on LAM remote nodes.
.SH SYNOPSIS
.hy 0
.HP
int rflat (int node, char *buffer, int ld_length, int ma_length, int tag);
.HP
int rflclean (int node, int tag);
.hy 1
.SH ARGUMENTS
.TP 12
node
where data will be stored
.TP
buffer
data to be stored
.TP
ld_length
length of data to be stored
.TP
ma_length
length of storage to allocate
.TP
tag
label to assign to remote storage for future reference
.SH DESCRIPTION
The
.I tag
serves as a symbolic name, and is not related to the actual
address of the allocated remote storage.
The
.I flat
daemon remembers the tag.
A later call to rget(2) can retrieve the actual address of the storage.
.PP
The
.I ld_length
and
.I ma_length
arguments are almost always set to the same value.
A larger value for
.I ma_length
(the only other possibility)
allows extra contiguous storage to be allocated but not loaded.
.PP
The
.I rflclean()
function frees any storage associated with the flat tag.
It also deletes the flat tag.
.SH ERRORS
.TP 20
ENOFLDESCRIPTORS
The table of storage addresses (kept by the
.I flat
server) is full.
.SH SEE ALSO
rget(2), rload(2)