aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_behex_edid.c
blob: f4dea30ffa1625c6306fe6970b804e9f0cdaa0c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* See LICENSE file for copyright and license details. */
#include "common.h"


/**
 * Convert a raw representation of an EDID to a lowercase hexadecimal representation
 * 
 * @param   edid    The EDID in raw representation
 * @param   length  The length of `edid`
 * @return          The EDID in lowercase hexadecimal representation,
 *                  `NULL` on allocation error, `errno` will be set accordingly
 */
extern inline char *libgamma_behex_edid(const unsigned char *restrict, size_t);