• Mauro Carvalho Chehab's avatar
    doc-rst: linux_tv: avoid using c:func:: · 760c7010
    Mauro Carvalho Chehab authored
    Using auto-generated links is dangerous, as there are multiple
    definitions for syscalls (at least one on each book part).
    
    So, reference them by their explicit reference.
    
    I used this small script to help writing this patch:
    
    for i in $(git grep -l "c:func:"); do perl -ne 's/\:c\:func:\`(open|close|read|poll|write|select|mmap|munmap|ioctl)\(\)`/:ref:`$1() <func-$1>`/; print $_' < $i >a && mv a $i; done
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
    760c7010
func-read.rst 4.66 KB