home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!maximus.cs.ubc.ca!not-for-mail
- From: hassan@cs.ubc.ca (Moustafa Hassan)
- Newsgroups: alt.hackers
- Subject: Magic constants
- Date: 10 Nov 1992 01:10:19 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Lines: 26
- Approved: yes
- Message-ID: <1dnu9rINNt2k@maximus.cs.ubc.ca>
- NNTP-Posting-Host: maximus.cs.ubc.ca
- Summary: Help!
-
- I'm trying to port code (not sure which unix system it was originally
- for) to a SPARC 2 (System V). The code I have uses the <sys/quota.h>
- which I had to change to <ufs/quota.h> on the sparcs, but I'm still
- getting unknown constant errors. The constants that are causing
- problems are:
-
- Q_SETUID
- Q_DOWARN
- UT_NAMESIZE
-
- The first two are used as the first argument to quota(). To make my
- problems worse, I can't find any manual entries for the quota() C
- function call. UT_NAMESIZE is merely used as a constant for defining
- the size of an array and incrementing a pointer. If you have any clue
- what these values should be, please let me know. Thanks.
-
- ObTinyHack: Sending anonymous mail to one of my professors to complain about
- the unethical conduct of some TA's (ya, I'm an undergrad).
- Alas, an ethically pleasing hack... 8^)
-
- Cheers,
- ********************************************************************
- * Moustafa Hassan | *
- * hassan@cs.ubc.ca | Political correctness is a euphemism *
- * TEL/FAX: (604) 535-2826 | for intellectual stagnation. *
- ********************************************************************
-