Files
libiscsi/utils
zhenwei pi 6e2c677553 utils: use strtol instead of atoi
HEX format is friendly to iSCSI utils, for example:
./iscsi-inq -e 0x1 -c 0xb1 iscsi://...

atoi supports decimal only, this example does not work.
Use strtol(nptr, NULL, 0) to auto-detect format, then this works fine.

Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
2023-07-08 07:44:16 -07:00
..
2023-07-08 07:44:16 -07:00
2022-06-07 19:19:39 -07:00
2023-07-08 07:44:16 -07:00
2023-07-08 07:44:16 -07:00
2023-07-08 07:44:16 -07:00