On Wed, 05 May 2004, CBFalconer <cbfalconer@yah oo.com> wrote:
[color=blue]
>Even if sscanf succeeds in inputting various fields, there are
>probably range and other validity checks to be applied. The
>interactive programmers work is never done :-)[/color]
in how I see it errno (or errno like) would have 32 states
0 /* No error */
1u, 2u, 4u, 8u, 16u, 32u, 64u, 128u, 256u, 512u, 1024u, 2048u
4096u, 8192u, 16384u, 32768u, 65536u, 131072u, 262144u,
524288u, 1048576u, 2097152u, 4194604u, 8388608u, 16777216u,
33554432u, 67108864u, 134217728u, 268435456u, 5356870912u,
1073741824u, 2147483648u. /* code error */
because seems to me that errors *sum themselves*
but are they enough ?
if(error_find_x xtype) errno |= error_find_xxty pe;
Is there someone that reads my posts?
[color=blue]
>Even if sscanf succeeds in inputting various fields, there are
>probably range and other validity checks to be applied. The
>interactive programmers work is never done :-)[/color]
in how I see it errno (or errno like) would have 32 states
0 /* No error */
1u, 2u, 4u, 8u, 16u, 32u, 64u, 128u, 256u, 512u, 1024u, 2048u
4096u, 8192u, 16384u, 32768u, 65536u, 131072u, 262144u,
524288u, 1048576u, 2097152u, 4194604u, 8388608u, 16777216u,
33554432u, 67108864u, 134217728u, 268435456u, 5356870912u,
1073741824u, 2147483648u. /* code error */
because seems to me that errors *sum themselves*
but are they enough ?
if(error_find_x xtype) errno |= error_find_xxty pe;
Is there someone that reads my posts?
Comment