Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

replacement for struct filedesc.fd_ofileflags



I am trying to build lsof on -current as of about a week ago.  I am stuck
trying to convert this to the new world order:

        if (!fd.fd_ofileflags || kread((KA_T)fd.fd_ofileflags, pof, nb))

(That's from line 314 of lsof_4.78_src/dialects/n+obsd/dproc.c
inside the work directory for pkgsrc/sysutils/lsof.)

What is the recommended new way of getting the information that
was previously available from struct fieldesc.fd_ofileflags?

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index