Thanks for the help. For anyone interested, here is what I learned: 1) You don't need openx, open works just fine. 2) I had tried (1) but I had opened the file read-only and forgotten to put read-only in the shmat() call as well. Jay