suse man page for ata_id_c_string

Query: ata_id_c_string

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ATA_ID_C_STRING(9)						  libata Library						ATA_ID_C_STRING(9)

NAME
ata_id_c_string - Convert IDENTIFY DEVICE page into C string
SYNOPSIS
void ata_id_c_string(const u16 * id, unsigned char * s, unsigned int ofs, unsigned int len);
ARGUMENTS
id IDENTIFY DEVICE results we will examine s string into which data is output ofs offset into identify device page len length of string to return. must be an odd number.
DESCRIPTION
This function is identical to ata_id_string except that it trims trailing spaces and terminates the resulting string with null. len must be actual maximum length (even number) + 1.
LOCKING
caller.
AUTHOR
Jeff Garzik Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 ATA_ID_C_STRING(9)
Related Man Pages
asn1_string_data(3) - redhat
asn1_string_length_set(3) - redhat
sg_sat_identify(8) - debian
sg_sat_identify(8) - suse
asn1_string_type(3) - osx
Similar Topics in the Unix Linux Community
Change directory error
Getting command output to putty window title.
Migrating to UNIX
Cut command on RHEL 6.8 compatibility issues
The Future of the PM (Private Message) System at UNIX.com