-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (32 loc) · 1.32 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="memchr.github.io : ">
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
<title>memchr.github.io</title>
</head>
<body>
<div class="crt">
<div class="terminal">
<p>Wellcome to <a href="https://github.com/memchr">memchr</a>'s website</p>
<p>Last login: Tue Nov 15 13:39:23 2022 from ::1</p>
<p>[[email protected] <span class="path">~/src/memchr</span>]$ ls</p>
<p>loader.c main.c map_gen.c memchr.c time.c Makefile</p>
<p>[[email protected] <span class="path">~/src/memchr</span>]$ make</p>
<p>cc -Wall main.c -o main.o</p>
<p>cc -Wall time.c -o time.o</p>
<p>cc -Wall loader.c -o loader.o</p>
<p>cc -Wall map_gen.c -o map_gen.o</p>
<p>cc -Wall memchr.c -o memchr.o</p>
<p>memchr.c:5:21: warning: ‘buf’ is used uninitialized [-Wuninitialized]</p>
<p>5 | char* pos = memchr(buf, 'm', 1024);</p>
<p> | ^~~~~~~~~~~~~~~~~~~~~~</p>
<p>cc -o memchr main.o time.o loader.o map_gen.o memchr.o</p>
<p>[[email protected] <span class="path">~/src/memchr</span>]$ ./memchr</p>
<p>[1] 181762 segmentation fault (core dumped) ./memchr</p>
</div>
</div>
</body>
</html>