Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
[C99, C+] Automated String Terminaion
ZoriaRPG
Feb 27th, 2020
367
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.08 KB
| None
|
0
0
raw
download
clone
embed
print
report
void
insert_str_terminator
(
char
*
s
)
{
s
[
(
sizeof
(
s
)
/
sizeof
(
s
[
0
]
)
)
-
1
]
=
'
\0
'
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
11 min ago | 33.76 KB
Untitled
11 min ago | 4.68 KB
Untitled
1 hour ago | 7.65 KB
Untitled
2 hours ago | 26.84 KB
Untitled
3 hours ago | 5.67 KB
Untitled
3 hours ago | 7.07 KB
Untitled
4 hours ago | 24.39 KB
Untitled
6 hours ago | 25.79 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!