the qnx4's "stat" structure doesn't have "st_blksize" member.
how do you port the code from other unix?
st_blksize
Re: st_blksize
nospam <nospam@nospam.edu> wrote:
have to hard-code that value in #ifdef'ed for QNX or something.
Or, do a cover function for QNX..
#define stat qnx_stat
And have a struct qnx_stat and a qnx_stat() function that are
corrected, call stat() and then fill in the extra fields.
-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.
QNX4's filesystem uses a block size of 512 bytes. You mightthe qnx4's "stat" structure doesn't have "st_blksize" member.
how do you port the code from other unix?
have to hard-code that value in #ifdef'ed for QNX or something.
Or, do a cover function for QNX..
#define stat qnx_stat
And have a struct qnx_stat and a qnx_stat() function that are
corrected, call stat() and then fill in the extra fields.
-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.