Null Character: Difference between revisions

m
→‎OS desing considerations: Fix typos & grammar.
[unchecked revision][unchecked revision]
(Rework for the whole page.)
m (→‎OS desing considerations: Fix typos & grammar.)
Line 51:
</pre>
== OS desing considerations ==
String-related functions are crutialcrucial, you should implement them in your standard library,. soSo keep in mind that null terminator detection is indispensable. IsIt notis usually not a good idea to specify the length of ana string via a number variable, but it is not a bad practice to specify a maximunmaximum length in some contexts (maybe because you can't dinamicallydynamically allocate memory for a string, so you just declasedeclare something like "char str[MAX_STR]").
 
== See also ==
56

edits