about summary refs log tree commit diff stats
path: root/060rewrite_literal_string.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-09-21 16:33:57 -0700
committerKartik Agaram <vc@akkartik.com>2018-09-21 16:38:35 -0700
commitddeed58f8524849315286de8ff825c43e5b82f9d (patch)
tree682bc948d7fa55d587a06e56b43e941d3fce8524 /060rewrite_literal_string.cc
parent45967d2106335dbd595cb43ae5732ba88b5d0553 (diff)
downloadmu-ddeed58f8524849315286de8ff825c43e5b82f9d.tar.gz
4579
New example program: ascii null-terminated string comparison

I'd hoped this would be a stepping stone to supporting general ascii comparison,
but we're planning to use size-prefixed rather than null-terminated arrays
everywhere. The only exception is commandline arguments, which will remain
null-terminated to interoperate with Linux.

So I'm going to need separate functions for "compare with argv" and for
general string comparison.
Diffstat (limited to '060rewrite_literal_string.cc')
0 files changed, 0 insertions, 0 deletions
='#n119'>119 120 121 122 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 201 202 203 204 205 206 207 208 209 210 211 212 213 214