next up previous contents index
Next: System Settings & Primitives Up: Primitives Previous: Primitives   Contents   Index


File Primitives

The following file primitives are provided:

Errors are reported by the pso_errno variable. If no errors are encountered pso_errno is set to PSO_ENOERROR. An error message corresponding to the given error number can be written using the p_perror procedure, see Section 5.7.2.

Legal values of mode are:

Note: The additional b (for binary) makes no difference in a UNIX environment. All strings containing either r, w, or a are initially accepted by $\mathcal{P}$$e$$\mathcal{S}$$t$$\mathcal{O}$ but if they are illegal (i.e., not one of those listed above) with respect to the standard ANSI-C mode used in fopen they might fail after all.

Time bounds, tb or etb, are given in whole minutes. Expiration time bounds, etb's, less than zero are treated as zeros.


next up previous contents index
Next: System Settings & Primitives Up: Primitives Previous: Primitives   Contents   Index

michael@garfield.dk
2000-10-13