Fix inconsistencies in man pages (missing quotes, typos).

This commit is contained in:
Romain Tartiere 2012-01-15 11:07:32 +00:00
parent f1e5413ccc
commit 3ab44974ca
4 changed files with 20 additions and 20 deletions

View file

@ -57,15 +57,15 @@ enum mifare_tag_type {
CLASSIC_4K CLASSIC_4K
}; };
.Ed .Ed
.Ft enum mifare_tag_type .Ft "enum mifare_tag_type"
.Fn freefare_get_tag_type "MifareTag tag" .Fn freefare_get_tag_type "MifareTag tag"
.Ft "const char *" .Ft "const char *"
.Fn freefare_get_tag_friendly_name "MifareTag tag" .Fn freefare_get_tag_friendly_name "MifareTag tag"
.Ft "char *" .Ft "char *"
.Fn freefare_get_tag_uid "MifareTag tag" .Fn freefare_get_tag_uid "MifareTag tag"
.Ft void .Ft "void"
.Fn freefare_free_tag "MifareTag tags" .Fn freefare_free_tag "MifareTag tags"
.Ft void .Ft "void"
.Fn freefare_free_tags "MifareTag *tags" .Fn freefare_free_tags "MifareTag *tags"
.\" ____ _ _ _ .\" ____ _ _ _
.\" | _ \ ___ ___ ___ _ __(_)_ __ | |_(_) ___ _ __ .\" | _ \ ___ ___ ___ _ __(_)_ __ | |_(_) ___ _ __

View file

@ -52,10 +52,10 @@ Mifare card manipulation library (libfreefare, \-lfreefare)
.Fn freefare_strerror_r "MifareTag tag" "char *buffer" "size_t len" .Fn freefare_strerror_r "MifareTag tag" "char *buffer" "size_t len"
.Ft "void" .Ft "void"
.Fn freefare_strerror "MifareTag tag" "char *string" .Fn freefare_strerror "MifareTag tag" "char *string"
.Ft uint8_t .Ft "uint8_t"
.Fm mifare_desfire_last_pcd_error "MifareTag tag" .Fn mifare_desfire_last_pcd_error "MifareTag tag"
.Ft uint8_t .Ft "uint8_t"
.Fm mifare_desfire_last_picc_error "MifareTag tag" .Fn mifare_desfire_last_picc_error "MifareTag tag"
.\" ____ _ _ _ .\" ____ _ _ _
.\" | _ \ ___ ___ ___ _ __(_)_ __ | |_(_) ___ _ __ .\" | _ \ ___ ___ ___ _ __(_)_ __ | |_(_) ___ _ __
.\" | | | |/ _ \/ __|/ __| '__| | '_ \| __| |/ _ \| '_ \ .\" | | | |/ _ \/ __|/ __| '__| | '_ \| __| |/ _ \| '_ \

View file

@ -52,25 +52,25 @@ Mifare card manipulation library (libfreefare, \-lfreefare)
.\" |___/ |_| .\" |___/ |_|
.Sh SYNOPSIS .Sh SYNOPSIS
.In freefare.h .In freefare.h
.Ft Mad .Ft "Mad"
.Fn mad_new "uint8_t version" .Fn mad_new "uint8_t version"
.Ft Mad .Ft "Mad"
.Fn mad_read "MifareTag tag" .Fn mad_read "MifareTag tag"
.Ft int .Ft "int"
.Fn mad_write "MifareTag tag" "Mad mad" "MifareClassicKey key_b_sector_00" "MifareClassicKey key_b_sector_10" .Fn mad_write "MifareTag tag" "Mad mad" "MifareClassicKey key_b_sector_00" "MifareClassicKey key_b_sector_10"
.Ft int .Ft "int"
.Fn mad_get_version "Mad mad" .Fn mad_get_version "Mad mad"
.Ft void .Ft "void"
.Fn mad_set_version "Mad mad" "uint8_t version" .Fn mad_set_version "Mad mad" "uint8_t version"
.Ft MifareClassicSectorNumber .Ft "MifareClassicSectorNumber"
.Fn mad_get_card_publisher_sector "Mad mad" .Fn mad_get_card_publisher_sector "Mad mad"
.Ft int .Ft "int"
.Fn mad_set_card_publisher_sector "Mad mad" "MifareClassicSectorNumber cps" .Fn mad_set_card_publisher_sector "Mad mad" "MifareClassicSectorNumber cps"
.Ft int .Ft "int"
.Fn mad_get_aid "Mad mad" "MifareClassicSectorNumber sector" "MadAid *aid" .Fn mad_get_aid "Mad mad" "MifareClassicSectorNumber sector" "MadAid *aid"
.Ft int .Ft "int"
.Fn mad_set_aid "Mad mad" "MifareClassicSectorNumber sector" "MadAid aid" .Fn mad_set_aid "Mad mad" "MifareClassicSectorNumber sector" "MadAid aid"
.Ft void .Ft "void"
.Fn mad_free "Mad mad" .Fn mad_free "Mad mad"
.\" ____ _ _ _ .\" ____ _ _ _
.\" | _ \ ___ ___ ___ _ __(_)_ __ | |_(_) ___ _ __ .\" | _ \ ___ ___ ___ _ __(_)_ __ | |_(_) ___ _ __

View file

@ -49,13 +49,13 @@ Mifare card manipulation library (libfreefare, \-lfreefare)
.In freefare.h .In freefare.h
.Ft "MifareClassicSectorNumber *" .Ft "MifareClassicSectorNumber *"
.Fn mifare_application_alloc "Mad mad" "MadAid aid" "size_t size" .Fn mifare_application_alloc "Mad mad" "MadAid aid" "size_t size"
.Ft void .Ft "void"
.Fn mifare_application_free "Mad mad" "MadAid aid" .Fn mifare_application_free "Mad mad" "MadAid aid"
.Ft "MifareClassicSectorNumber *" .Ft "MifareClassicSectorNumber *"
.Fn mifare_application_find "Mad mad" "MadAid aid" .Fn mifare_application_find "Mad mad" "MadAid aid"
.Ft ssize_t .Ft "ssize_t"
.Fn mifare_application_read "MifareTag tag" "Mad mad" "MadAid aid" "void *buf" "size_t nbytes" "MifareClassicKey key" "MifareClassicKeyType key_type" .Fn mifare_application_read "MifareTag tag" "Mad mad" "MadAid aid" "void *buf" "size_t nbytes" "MifareClassicKey key" "MifareClassicKeyType key_type"
.Ft ssize_t .Ft "ssize_t"
.Fn mifare_application_write "MifareTag tag" "Mad mad" "MadAid aid" "const void *buf" "size_t nbytes" "MifareClassicKey key" "MifareClassicKeyType key_type" .Fn mifare_application_write "MifareTag tag" "Mad mad" "MadAid aid" "const void *buf" "size_t nbytes" "MifareClassicKey key" "MifareClassicKeyType key_type"
.\" ____ _ _ _ .\" ____ _ _ _
.\" | _ \ ___ ___ ___ _ __(_)_ __ | |_(_) ___ _ __ .\" | _ \ ___ ___ ___ _ __(_)_ __ | |_(_) ___ _ __