[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) |
| Notice: | Welcome to the Digital UNIX Conference |
| Moderator: | SMURF::DENHAM |
|
| Created: | Thu Mar 16 1995 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 10068 |
| Total number of notes: | 35879 |
8796.0. "swapctl problems in usage" by RHETT::HALETKY () Tue Feb 11 1997 19:48
Hello,
We have a cusotmer that is using swapctl but can't seem to find the
proper incantation. Neither can I.
(ret = swapctl(SC_LIST, stable))
How is stable allocated for this?
stable = (struct swaptable *) malloc(sizeof(struct swaptable) +
2*sizeof(struct swapent)*numswap);
We tried the above to no avail the results is:
swapctl: Not enough space
Yet we use numswap = swapctl(SC_GETNSWP, 0))
Any suggestions?
Best regards,
Ed Haletky
Digital CSC
| T.R | Title | User | Personal Name | Date | Lines
|
|---|