This repository has been archived on 2022-08-01. You can view files and clone it, but cannot push or open issues or pull requests.
150ASM-Emulator/doc/html/mystring_8h_source.html

116 lines
8.6 KiB
HTML
Raw Permalink Normal View History

2020-06-23 21:56:38 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SCC.150 Assembler Emulator: /home/rumperuu/Documents/University/University Work/SCC.150 Digital Systems/Coursework/unr-C/SCC.150 Assembler Emulator/source/mystring.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">SCC.150 Assembler Emulator
</div>
<div id="projectbrief">A compiler for a simple assembler language</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html">source</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">mystring.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="mystring_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef MYSTRING_H_</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define MYSTRING_H_</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;stddef.h&gt;</span> <span class="comment">// used for size_t</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keywordtype">size_t</span> <a class="code" href="mystring_8h.html#aa231246d7f6f97231aa18689cc2ea20a">mystrlen</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s);</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keywordtype">int</span> <a class="code" href="mystring_8h.html#a3dab99f21a63ee803be3e9344efda0a0">mystrcmp</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s1, <span class="keyword">const</span> <span class="keywordtype">char</span>* s2);</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keywordtype">int</span> <a class="code" href="mystring_8h.html#a70913f883a62585fb8fe025aa1e56749">mystrncmp</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s1, <span class="keyword">const</span> <span class="keywordtype">char</span>* s2, <span class="keywordtype">int</span> n);</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keywordtype">char</span>* <a class="code" href="mystring_8h.html#a1a18457ecefaaafb354de326065b86f9">mystrchr</a>(<span class="keywordtype">char</span>* haystack, <span class="keyword">const</span> <span class="keywordtype">char</span> needle);</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keywordtype">char</span>* <a class="code" href="mystring_8h.html#ac650f6f569951713296a17edd496f7a5">mystrstr</a>(<span class="keywordtype">char</span>* haystack, <span class="keyword">const</span> <span class="keywordtype">char</span>* needle);</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* MYSTRING_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="mystring_8h_html_a70913f883a62585fb8fe025aa1e56749"><div class="ttname"><a href="mystring_8h.html#a70913f883a62585fb8fe025aa1e56749">mystrncmp</a></div><div class="ttdeci">int mystrncmp(const char *s1, const char *s2, int n)</div><div class="ttdef"><b>Definition:</b> mystring.c:99</div></div>
<div class="ttc" id="mystring_8h_html_aa231246d7f6f97231aa18689cc2ea20a"><div class="ttname"><a href="mystring_8h.html#aa231246d7f6f97231aa18689cc2ea20a">mystrlen</a></div><div class="ttdeci">size_t mystrlen(const char *s)</div><div class="ttdef"><b>Definition:</b> mystring.c:46</div></div>
<div class="ttc" id="mystring_8h_html_a3dab99f21a63ee803be3e9344efda0a0"><div class="ttname"><a href="mystring_8h.html#a3dab99f21a63ee803be3e9344efda0a0">mystrcmp</a></div><div class="ttdeci">int mystrcmp(const char *s1, const char *s2)</div><div class="ttdef"><b>Definition:</b> mystring.c:67</div></div>
<div class="ttc" id="mystring_8h_html_a1a18457ecefaaafb354de326065b86f9"><div class="ttname"><a href="mystring_8h.html#a1a18457ecefaaafb354de326065b86f9">mystrchr</a></div><div class="ttdeci">char * mystrchr(char *haystack, const char needle)</div><div class="ttdef"><b>Definition:</b> mystring.c:119</div></div>
<div class="ttc" id="mystring_8h_html_ac650f6f569951713296a17edd496f7a5"><div class="ttname"><a href="mystring_8h.html#ac650f6f569951713296a17edd496f7a5">mystrstr</a></div><div class="ttdeci">char * mystrstr(char *haystack, const char *needle)</div><div class="ttdef"><b>Definition:</b> mystring.c:138</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue May 19 2015 20:34:54 for SCC.150 Assembler Emulator by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>