Discussion:
[SR-Users] function to reset all flags or bflags?
Juha Heinanen
2014-07-14 18:41:06 UTC
Permalink
there is a function to reset a flag or bflag, but i haven't found one
that would reset all flags or bflags.

is there a way to do it? if not, is it ok to add such function?

-- juha
Alex Hermann
2014-07-15 05:17:37 UTC
Permalink
Post by Juha Heinanen
there is a function to reset a flag or bflag, but i haven't found one
that would reset all flags or bflags.
is there a way to do it? if not, is it ok to add such function?
$mf is an R/W variable, you could assign 0 to it. Maybe $bf is R/W also, but
it isn't documented as such.
--
Alex
Juha Heinanen
2014-07-15 16:17:59 UTC
Permalink
Post by Alex Hermann
$mf is an R/W variable, you could assign 0 to it. Maybe $bf is R/W also, but
it isn't documented as such.
I tested, and, yes, it is r/w variable. I added note about it to pv
wiki page.

-- Juha

Loading...