Operating System - Linux
1828625 Members
1686 Online
109983 Solutions
New Discussion

quotactl() function prototype missing in sys/quota.h

 
Prakash Achuthan
Occasional Advisor

quotactl() function prototype missing in sys/quota.h

I am getting the following error while compiling the code containing quotactl() system call on HP-UX 11.11 aCC 03.26

Error 328: "v1.0/HpnQuota.cpp", line 60 # Function 'quotactl' has not been defin
ed yet; cannot call.
if(quotactl(Q_GETQUOTA, mDevPath.c_str(), (uid_t)mId, &quotastruc)
^^^^^^^^


But, when I looked at the file it doesn't contain any function prototype for quotactl() sys call.

I wanted to know if there is any patch that I should apply to get this rectified.


regards,
Prakash
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: quotactl() function prototype missing in sys/quota.h

This appears to be CR JAGaf54981:
Error 328 quotactl() prototype missing in