/usr/lib/petscdir/3.7.7/x86_64-linux-gnu-complex/share/petsc/matlab/@PetscOpenFile/write.m is in libpetsc-complex-3.7.7-dev 3.7.7+dfsg1-2build5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 | function write(freader,data,datatype)
%
% write(freader,data,datatype) - writes data to a binary file opened with freader('filename')
%
fwrite(freader.fd,data,datatype);
|