The example is intended for int types, not for strings. So it is not a
bug, it's a feature ;-) But anyway, if you prefer to handle with strings
your are okay by me.
Am Dienstag, den 03.02.2015, 11:51 + schrieb Wang Long:
> echo 99 > /proc/int-fifo > Never return
> echo 1000
On 2015/2/4 18:18, Stefani Seibold wrote:
> The example is intended for int types, not for strings. So it is not a
> bug, it's a feature ;-) But anyway, if you prefer to handle with strings
> your are okay by me.
>
hi,Stefani Seibold
Thanks you for your reply. another question?
This example
The example is intended for int types, not for strings. So it is not a
bug, it's a feature ;-) But anyway, if you prefer to handle with strings
your are okay by me.
Am Dienstag, den 03.02.2015, 11:51 + schrieb Wang Long:
echo 99 /proc/int-fifo Never return
echo 1000
On 2015/2/4 18:18, Stefani Seibold wrote:
The example is intended for int types, not for strings. So it is not a
bug, it's a feature ;-) But anyway, if you prefer to handle with strings
your are okay by me.
hi,Stefani Seibold
Thanks you for your reply. another question?
This example export
echo 99 > /proc/int-fifo > Never return
echo 1000 > /proc/int-fifo > Never return
this patch fix it.
Signed-off-by: Wang Long
---
samples/kfifo/inttype-example.c | 51 -
1 file changed, 40 insertions(+), 11 deletions(-)
With the kernel module *samples/kfifo/inttype-example.ko*, the system will
create file /proc/int-fifo.
but the current code for this module may have some bug, as the following:
# echo 100 > /proc/int-fifo > OK
# echo 100 > /proc/int-fifo > OK
# echo 99 >
echo 99 /proc/int-fifo Never return
echo 1000 /proc/int-fifo Never return
this patch fix it.
Signed-off-by: Wang Long long.wangl...@huawei.com
---
samples/kfifo/inttype-example.c | 51 -
1 file changed, 40
With the kernel module *samples/kfifo/inttype-example.ko*, the system will
create file /proc/int-fifo.
but the current code for this module may have some bug, as the following:
# echo 100 /proc/int-fifo OK
# echo 100 /proc/int-fifo OK
# echo 99
8 matches
Mail list logo