; int
>> prfw_setflags(p, uap)
>> struct proc *p;
>> struct prfw_setflags_args *uap;
>> {
>> ...
>> if (uap->id) {
>> while (uap->id != p->p_pid)
>> LIST_NEXT(p, p_list);
>> }
>
> Well, first, you're using LIST_NEXT(), not SL
t; What am I doing wrong? I've read the manpages on queue and looked at the proc
>structure.
>
> Here's the code:
> int
> prfw_setflags(p, uap)
> struct proc *p;
> struct prfw_setflags_args *uap;
> {
> ...
> if (uap->id) {
> while (uap->id != p
mpile it:
>
> warning: statement with mo effect
>
> What am I doing wrong? I've read the manpages on queue and looked at the proc
>structure.
>
> Here's the code:
> int
> prfw_setflags(p, uap)
> struct proc *p;
> struct prfw_setflags_args *uap;
> {
anpages on queue and looked at the proc
structure.
Here's the code:
int
prfw_setflags(p, uap)
struct proc *p;
struct prfw_setflags_args *uap;
{
...
if (uap->id) {
while (uap->id != p->p_pid)
LIST_NEXT(p, p_list);
}
...
}
Thanks a lot.
Evan Sarmiento
To Unsubscribe: send mail t
4 matches
Mail list logo