<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! 1.5 - Open Source Content Management" -->
<feed xmlns="http://www.w3.org/2005/Atom"  xml:lang="pt-br">
	<title type="text">Projetos</title>
	<subtitle type="text">Pagina Pessoal de João Filho Matos Figueiredo.
Ciência da Computação, informática, redes, segurança, linux, java, programação, criptografia, exploits.</subtitle>
	<link rel="alternate" type="text/html" href="http://www.joaomatosf.com"/>
	<id>http://www.joaomatosf.com/blog/index.php</id>
	<updated>2017-03-14T21:16:41Z</updated>
	<generator uri="http://joomla.org" version="1.5">Joomla! 1.5 - Open Source Content Management</generator>
<link rel="self" type="application/atom+xml" href="http://www.joaomatosf.com/blog/index.php?option=com_content&amp;view=category&amp;id=49%3Aso&amp;Itemid=56&amp;layout=default&amp;format=feed&amp;type=atom" />
	<entry>
		<title>&quot;Interpretador&quot; de Comandos</title>
		<link rel="alternate" type="text/html" href="http://www.joaomatosf.com/blog/index.php?option=com_content&amp;view=article&amp;id=58:qinterpretadorq-de-comandos&amp;catid=49:so&amp;Itemid=56"/>
		<published>2009-05-07T19:00:01Z</published>
		<updated>2009-05-07T19:00:01Z</updated>
		<id>http://www.joaomatosf.com/blog/index.php?option=com_content&amp;view=article&amp;id=58:qinterpretadorq-de-comandos&amp;catid=49:so&amp;Itemid=56</id>
		<author>
			<name>Administrator</name>
		<email>joao.matosf@gmail.com</email>
		</author>
		<summary type="html">/*&lt;br /&gt; * Interpretador de comandos&lt;br /&gt; *&lt;br /&gt;*/&lt;br /&gt;#include stdio.h //inserir maior e menor que&lt;br /&gt;#define MAX     512&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;        char    buf[MAX+1];&lt;br /&gt;&lt;br /&gt;        do {&lt;br /&gt;                printf(&quot;Sinal de prontidao&gt; &quot;);&lt;br /&gt;                fgets( buf, sizeof(buf), stdin ); //a fgtes limita o tamanho do buffer, evitando overflows.&lt;br /&gt;                if( strcmp(buf,&quot;fim\n&quot;) == 0 )&lt;br /&gt;                        break;&lt;br /&gt;                system( buf );  /* funcao da lib c */&lt;br /&gt;        } while( 1 );&lt;br /&gt;}</summary>
		<content type="html">/*&lt;br /&gt; * Interpretador de comandos&lt;br /&gt; *&lt;br /&gt;*/&lt;br /&gt;#include stdio.h //inserir maior e menor que&lt;br /&gt;#define MAX     512&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;        char    buf[MAX+1];&lt;br /&gt;&lt;br /&gt;        do {&lt;br /&gt;                printf(&quot;Sinal de prontidao&gt; &quot;);&lt;br /&gt;                fgets( buf, sizeof(buf), stdin ); //a fgtes limita o tamanho do buffer, evitando overflows.&lt;br /&gt;                if( strcmp(buf,&quot;fim\n&quot;) == 0 )&lt;br /&gt;                        break;&lt;br /&gt;                system( buf );  /* funcao da lib c */&lt;br /&gt;        } while( 1 );&lt;br /&gt;}</content>
	</entry>
</feed>
