Query: ata_id_c_string
OS: centos
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)NAMEata_id_c_string - Convert IDENTIFY DEVICE page into C stringSYNOPSISvoid ata_id_c_string(const u16 * id, unsigned char * s, unsigned int ofs, unsigned int len);ARGUMENTSid 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.DESCRIPTIONThis 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.LOCKINGcaller.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATA_ID_C_STRING(9)