Skip to content

Commit fbe58f8

Browse files
author
Tuan Hoang
committed
Annotate reference for the str_tolower() function.
Add author to scripts Add .gitignore file Signed-off-by: Tuan Hoang <[email protected]>
1 parent bf4d485 commit fbe58f8

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lsdevname

getkmoddevs/getkmoddevs-all.sh

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/sh
22
#
3+
# Author:
4+
# Tuan Hoang <[email protected]>
5+
#
36
# Description:
47
# This script loops over all instaled kmods and calls getkmoddevs-single.sh on each *.ko file
58
#

getkmoddevs/getkmoddevs-single.sh

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/sh
22
#
3+
# Author:
4+
# Tuan Hoang <[email protected]>
5+
#
36
# Description:
47
# This script prints all the device info for a single kmod filename (*.ko)
58
#

getkmoddevs/lsdevname.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ int main(int argc, char** argv)
191191

192192
/*
193193
* Function to convert a string to lowercase
194+
*
195+
* Reference: https://en.cppreference.com/w/cpp/string/byte/tolower
194196
*/
195197
string str_tolower(string s)
196198
{

0 commit comments

Comments
 (0)