[prev] 36 [next]

Exercise 3: Opening a Vfd

Consider the following call to open a file

f = PathNameOpenFilePerm(
   "/srvr/jas/pgsql/data/base/13645/12348",
   O_RDWR | O_CREAT | O_EXCL | PG_BINARY,
   0600
)


Sketch implementation of PathNameOpenFilePerm()