about summary refs log tree commit diff stats
path: root/apps/ex2
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-03-15 21:03:12 -0700
committerKartik Agaram <vc@akkartik.com>2020-03-15 21:03:12 -0700
commitc48ce3c8bfb6d1578f2530ed84b8e7b25d435b6d (patch)
tree9a7b23b95d9960853aad1be4e6e95b12f300ade8 /apps/ex2
parentf559236bdf9103c5f88d8dfc098f3afe3de64e4a (diff)
downloadmu-c48ce3c8bfb6d1578f2530ed84b8e7b25d435b6d.tar.gz
6153 - switch 'main' to use Mu strings
At the SubX level we have to put up with null-terminated kernel strings
for commandline args. But so far we haven't done much with them. Rather
than try to support them we'll just convert them transparently to standard
length-prefixed strings.

In the process I realized that it's not quite right to treat the combination
of argc and argv as an array of kernel strings. Argc counts the number
of elements, whereas the length of an array is usually denominated in bytes.
Diffstat (limited to 'apps/ex2')
0 files changed, 0 insertions, 0 deletions
'>123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200