]> git.alsa-project.org Git - alsa-gobject.git/commit
utils: successfully parse the string teminated by '\n'
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 22 Jun 2022 03:05:26 +0000 (12:05 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 22 Jun 2022 03:05:26 +0000 (12:05 +0900)
commit3ebe00cf51a0af27977e969d0eca31f3df9dec32
tree89b38a83fc81f8107a7d563d6035dc404598f8cb
parentbc3a550bf4c1b15607fdaa179ce79b3afd8679ea
utils: successfully parse the string teminated by '\n'

It requires to parse the literal from sysfs node.

Fixes: cc92f5ca9478 ("utils: add utility to compute integer value from string literal")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/utils/string.c