Borislav Deianov wrote:
> [...]
> Here is your example program rewritten to use linux/list.h
> (modulo insertion/traversal order - easily changeable):
Thank you very much for adapting the example. It indeed does the same job
(modulo insertion/traversal order; I also defined __KERNEL__ so it complies
standalone).
Could we add this example to Documentation/ ?
begin 644 list.c
M+RH*("!4:&ES(&5X86UP;&4@<VAO=W,@:&]W('1O('5S92!T:&4@9&]U8FQE
M+6QI;FME9"!L:7-T(&UA8W)O<RX**B\*"B-I;F-L=61E(#QS=&1I;RYH/@H*
M(V1E9FEN92!?7TM%4DY%3%]?"B-I;F-L=61E(")L:7-T+F@B"@IS=')U8W0@
M;F]D92!["@EI;G0@9&%T83L*"7-T<G5C="!L:7-T7VAE860@;&ES=#L*?3L*
M"FEN="!M86EN*'9O:60I"GL*"7-T<G5C="!L:7-T7VAE860@<75E=64L("IT
M;7`["@ES=')U8W0@;F]D92!N,2`]('L@,2!]+"!N,B`]('L@,B!]+"!N,R`]
M('L@,R!].PH*"4E.251?3$E35%](14%$*"9Q=65U92D["@EL:7-T7V%D9"@F
M;C$N;&ES="P@)G%U975E*3L*"6QI<W1?861D*"9N,BYL:7-T+"`F<75E=64I
M.PH);&ES=%]A9&0H)FXS+FQI<W0L("9Q=65U92D["@ET;7`@/2!Q=65U92YP
M<F5V.PH)=VAI;&4H=&UP("$]("9Q=65U92D@>PH)"7-T<G5C="!N;V1E("IN
M(#T@;&ES=%]E;G1R>2AT;7`L('-T<G5C="!N;V1E+"!L:7-T*3L*"0EP<FEN
M=&8H(B5D7&XB+"!N+3YD871A*3L*"0ET;7`@/2!T;7`M/G!R978["@E]"@EL
M:7-T7V1E;"@F;C(N;&ES="D["@EL:7-T7V1E;"@F;C$N;&ES="D["@EL:7-T
?7V1E;"@F;C,N;&ES="D["@H)<F5T=7)N(#`["GT*"@``
`
end
Regards,
Andreas
------------------------------------------------------------------------
Andreas Gruenbacher, a.gruenbacher@computer.org
Contact information: http://www.bestbits.at/~agruenba
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:31 EST