<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EmbLogic &#187; u.sravan</title>
	<atom:link href="https://www.emblogic.com/blog/author/u-sravan/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>BLOG</title>
		<link>https://www.emblogic.com/blog/03/blog/</link>
		<comments>https://www.emblogic.com/blog/03/blog/#comments</comments>
		<pubDate>Sun, 02 Mar 2014 05:28:53 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Dheeraj sir]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8708</guid>
		<description><![CDATA[ARM architecture ARM is a family of instruction set architectures for computer processors based on a reduced instruction set computing (RISC) architecture developed by British company ARM Holdings. A RISC-based computer design approach means ARM processors require significantly fewer transistors &#8230; <a href="https://www.emblogic.com/blog/03/blog/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h1 align="CENTER">ARM architecture</h1>
<p align="JUSTIFY"><strong>ARM</strong> is a family of instruction set architectures for computer processors based on a reduced instruction set computing (RISC) architecture developed by British company ARM Holdings.</p>
<p align="JUSTIFY">A RISC-based computer design approach means ARM processors require significantly fewer transistors than typical processors in average computers. This approach reduces costs, heat and power use. These are desirable traits for light, portable, battery-powered devices—including smartphones, laptops, tablet and notepad computers, and other embedded systems. A simpler design facilitates more efficient multi-core CPUs and higher core counts at lower cost, providing higher processing power and improved energy efficiency for servers and supercomputers.</p>
<p align="JUSTIFY">ARM Holdings develops the instruction set and architecture for ARM-based products, but does not manufacture products. The company periodically releases updates to its cores. Current cores from ARM Holdings support a 32-bit address space and 32-bit arithmetic,the recently introduced ARMv8-A architecture adds support for a 64-bit address space and 64-bit arithmetic. Instructions for ARM Holdings&#8217; cores have 32-bit-wide fixed-length instructions, but later versions of the architecture also support a variable-length instruction set that provides both 32-bit and 16-bit-wide instructions for improved code density. Some cores can also provide hardware execution of Java byte codes.</p>
<p align="JUSTIFY">ARM Holdings licenses the chip designs and the ARM instruction set architectures to third-parties, who design their own products that implement one of those architectures—including systems-on-chips (SoC) that incorporate memory, interfaces, radios, etc. Currently, the widely used Cortex cores, older &#8220;classic&#8221; cores, and specialized SecurCore cores variants are available for each of these to include or exclude optional capabilities. Companies that produce ARM products include Apple, Nvidia, Qualcomm, Rockchip, Samsung Electronics, and Texas Instruments. Apple first implemented the ARMv8-A architecture in the Apple A7 chip in the iPhone 5S.</p>
<p align="JUSTIFY">In 2005, about 98% of all mobile phones sold used at least one ARM processor. The low power consumption of ARM processors has made them very popular: 37 billion ARM processors have been produced as of 2013, up from 10 billion in 2008. The ARM architecture (32-bit) is the most widely used architecture in mobile devices, and most popular 32-bit one in embedded systems.</p>
<p align="JUSTIFY">According to ARM Holdings, in 2010 alone, producers of chips based on ARM architectures reported shipments of 6.1 billion ARM-based processors, representing 95% of smartphones, 35% of digital televisions and set-top boxes and 10% of mobile computers. It is the most widely used 32-bit instruction set architecture in terms of quantity produced.</p>
<h2 align="CENTER"><a name="History"></a>History</h2>
<p align="JUSTIFY">The British computer manufacturer Acorn Computers first developed ARM in the 1980s to use in its personal computers. Its first ARM-based products were coprocessor modules for the BBC Micro series of computers. After the successful BBC Micro computer, Acorn Computers considered how to move on from the relatively simple MOS Technology 6502 processor to address business markets like the one that was soon dominated by the IBM PC, launched in 1981. The <em>Acorn Business Computer</em> (ABC) plan required that a number of second processors be made to work with the BBC Micro platform, but processors such as the Motorola 68000 and National Semiconductor 32016 were considered unsuitable, and the 6502 was not powerful enough for a graphics based user interface.</p>
<p align="JUSTIFY">After testing all available processors and finding them lacking, Acorn decided it needed a new architecture. Inspired by white papers on the Berkeley RISC project, Acorn considered designing its own processor. A visit to the Western Design Center in Phoenix, where the 6502 was being updated by what was effectively a single-person company, showed Acorn engineers Steve Furber and Sophie Wilson they did not need massive resources and state-of-the-art research and development facilities.</p>
<p align="JUSTIFY">Wilson developed the instruction set, writing a simulation of the processor in BBC Basic that ran on a BBC Micro with a second 6502 processor. This convinced Acorn engineers they were on the right track. Wilson approached Acorn&#8217;s CEO, Hermann Hauser, and requested more resources. Once he had approval, he assembled a small team to implement Wilson&#8217;s model in hardware.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PARALLEL PORT INTERFACE</title>
		<link>https://www.emblogic.com/blog/02/parallel-port-interface/</link>
		<comments>https://www.emblogic.com/blog/02/parallel-port-interface/#comments</comments>
		<pubDate>Sat, 22 Feb 2014 11:39:29 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Parallel Port Driver]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8502</guid>
		<description><![CDATA[PARALLEL PORT A parallel port is a type of interface found on computers (personal and otherwise) for connecting peripherals. In computing, a parallel port is a parallel communication physical interface. It is also known as a printer port or Centronics &#8230; <a href="https://www.emblogic.com/blog/02/parallel-port-interface/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p style="text-align: center" align="JUSTIFY"><span style="font-size: medium">PARALLEL PORT</span></p>
<p align="JUSTIFY">A <strong>parallel port</strong> is a type of interface found on computers (personal and otherwise) for connecting peripherals. In computing, a parallel port is a parallel communication physical interface. It is also known as a <strong>printer port</strong> or Centronics port. It was a <em>de facto</em> industry standard for many years, and was finally standardized as IEEE 1284 in the late 1990s, which defined a bi-directional version of the port. Today, the parallel port interface is seeing decreasing use because of the rise of Universal Serial Bus (USB) and FireWire (IEEE 1394) devices, along with network printing using Ethernet.</p>
<p align="JUSTIFY">The parallel port interface was originally known as the <strong>Parallel Printer Adapter</strong> on IBM PC-compatible computers. It was primarily designed to operate a line printer that used IBM&#8217;s 8-bit extended ASCII character set to print text, but could also be used to adapt other peripherals. Graphical printers, along with a host of other devices, have been designed to communicate with the system.</p>
<p align="JUSTIFY">IBM released the IBM Personal Computer in 1981 and included a variant of the Centronics interface— only IBM logo printers (rebranded from Epson) could be used with the IBM PC.IBM standardized the parallel cable with a DB25F connector on the PC side and the Centronics connector on the printer side. Vendors soon released printers compatible with both standard Centronics and the IBM implementation.</p>
<p align="JUSTIFY">The original IBM parallel printer adapter for the IBM PC was designed to support 8-bit data bidirectionally in 1981. This feature was removed in later revisions of the hardware, so that the data lines could only be used to output data. Years later in 1987, IBM reintroduced the bidirectional interface with its IBM PS/2 series, where it could be enabled or disabled for compatibility with applications hardwired not to expect a printer port to be bidirectional. HP introduced their version of bidirectional, known as <em>Bitronics</em>, on the LaserJet 4 in 1992. The Bitronics and Centronics interfaces were superseded by the IEEE 1284 standard in 1994.</p>
<p align="JUSTIFY">A wide variety of devices were eventually designed to operate on a parallel port. Most devices were uni-directional (one-way) devices, only meant to respond to information sent from the PC. However, some devices such as Zip drives were able to operate in bi-directional mode. Printers also eventually took up the bi-directional system, allowing various status report information to be sent.</p>
<h3 align="JUSTIFY"><a name="Interfaces"></a><strong>Interfaces</strong></h3>
<p align="JUSTIFY">Most PC-compatible systems in the 1980s and 1990s had one to three ports, with communication interfaces defined like this:</p>
<ul>
<li>
<p align="JUSTIFY">Logical parallel port 1: I/O port 0x3BC, IRQ 7 (usually in monochrome graphics adapters)</p>
</li>
<li>
<p align="JUSTIFY">Logical parallel port 2: I/O port 0&#215;378, IRQ 7 (dedicated IO cards or using a controller built into the mainboard)</p>
</li>
<li>
<p align="JUSTIFY">Logical parallel port 3: I/O port 0&#215;278, IRQ 5 (dedicated IO cards or using a controller built into the mainboard)</p>
</li>
</ul>
<p align="JUSTIFY">If no printer port is present at 0x3BC, the second port in the row (0&#215;378) becomes logical parallel port 1 and 0&#215;278 becomes logical parallel port 2 for the BIOS. Sometimes, printer ports are jumpered to share an interrupt despite having their own IO addresses (i.e. only one can be used interrupt-driven at a time). In some cases, the BIOS supports a fourth printer port as well, but the base address for it differs significantly between vendors. Since the reserved entry for a fourth logical printer port in the BIOS Data Area (BDA) is shared with other uses on PS/2 machines and with S3 compatible graphics cards, it typically requires special drivers in most environments. Under DR-DOS 7.02 the BIOS port assignments can be changed and overridden using the LPT1, LPT2, LPT3 (and optionally LPT4) CONFIG.SYS directives.</p>
<h3 align="JUSTIFY"><a name="Access"></a><strong>Access</strong></h3>
<p align="JUSTIFY">DOS-based system will make the logical parallel ports detected by the BIOS available under device names such as <em>LPT1</em>, <em>LPT2</em> or <em>LPT3</em> (corresponding with logical parallel port 1, 2, and 3, respectively). These names derive from terms like Line Print Terminal, Local Print Terminal, or Line PrinTer. A similar naming convention was used on ITS, DEC systems, as well as in CP/M and 86-DOS (<em>LST</em>).</p>
<p align="JUSTIFY">In DOS, the parallel printers could be accessed directly on the command line. For example, the command &#8220;<tt>TYPE C:\AUTOEXEC.BAT &gt; LPT1</tt>&#8221; would redirect the contents of the AUTOEXEC.BAT file to the printer port. A <strong>PRN</strong> device was also available as an alias for LPT1. Some operating systems (like Multiuser DOS) allow to change this fixed assignment by different means. Some DOS versions use resident driver extensions provided by MODE, or the mapping can be changed internally via a CONFIG.SYS PRN=n directive (as under DR-DOS 7.02 and higher). DR-DOS 7.02 also provides optional built-in support for <em>LPT4</em> if the underlying BIOS supports it.</p>
<p align="JUSTIFY">PRN, along with CON, AUX and a few others are invalid file and directory names in DOS and Windows, even Windows XP. There is even an MS-DOS device in path name vulnerability in Windows 95 and 98, which causes the computer to crash if the user types &#8220;C:\CON\CON&#8221;, &#8220;C:\PRN\PRN&#8221; or &#8220;C:\AUX\AUX&#8221; in the Windows Explorer address bar. A patch to fix this bug has been released by Microsoft, but newly installed Windows 95 and 98 operating systems will still have the bug.</p>
<p align="JUSTIFY">A special &#8220;<tt>PRINT</tt>&#8221; command also existed to achieve the same effect. Microsoft Windows still refers to the ports in this manner in many cases, though this is often fairly hidden.In the Linux operating system the first LPT port is available via the filesystem as /dev/lp0.</p>
<h3 align="JUSTIFY"><a name="Program_interface"></a><strong>Program interface</strong></h3>
<p align="JUSTIFY">In versions of Windows that did not use the Windows NT kernel (as well as DOS and some other operating systems), programs could access the parallel port with simple outportb() and inportb() subroutine commands. In operating systems such as Windows NT and Unix (NetBSD, FreeBSD, Solaris, 386BSD, etc.), the microprocessor is operated in a different security ring, and access to the parallel port is inhibited, unless using the required driver. This improves security and arbitration of device contention. On Linux, inb() and outb() can be used when a process is run as root and an ioperm() command is used to allow access to its base address; alternatively, ppdev allows shared access and can be used from userspace if the appropriate permissions are set.</p>
<p align="JUSTIFY">The cross-platform library for parallel port access, libieee1284, also is available on many Linux distributions and provides an abstract interface to the parallel ports of the system. Access is handled in an open-claim-release-close sequence, which allows for concurrent access in userspace.</p>
<h2 align="JUSTIFY"><a name="Current_use"></a><strong>Current use</strong></h2>
<p align="JUSTIFY">For consumers, the USB interface — and sometimes Ethernet — has replaced the parallel printer port, for connections both to printers and to other devices.</p>
<p align="JUSTIFY">Many manufacturers of personal computers and laptops consider parallel to be a legacy port and no longer include the parallel interface. Smaller machines have less room for large parallel port connectors. The guidelines for Microsoft&#8217;s Windows Logo Program &#8220;strongly discourages&#8221; systems builders from including parallel ports.USB-to-parallel adapters are available that can make parallel-only printers work with USB-only systems. There are PCI (and PCI-express) cards that provide parallel ports. There are also some print servers that provide interface to parallel port through network. USB-to-EPP chips can also allow other non-printer device to continue to work on modern computers without a parallel port.</p>
<p align="JUSTIFY">For electronics hobbyists the parallel port is still often the easiest way to connect to an external circuit board. It is faster than the other common legacy port (serial port) and requires no serial-to-parallel converter, and requires far less interface logic and software than a USB target interface. However, Microsoft operating systems later than Windows 95/98 prevent user programs from directly writing to or reading from the PrinterPort. Current CNC Milling Machines also often make use of the parallel port to directly control the machine&#8217;s motors and attachments.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/parallel-port-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ARTICLE ON LODABLE KERNEL MODULE</title>
		<link>https://www.emblogic.com/blog/01/article-on-lodable-kernel-module/</link>
		<comments>https://www.emblogic.com/blog/01/article-on-lodable-kernel-module/#comments</comments>
		<pubDate>Fri, 10 Jan 2014 08:01:16 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8078</guid>
		<description><![CDATA[Loadable kernel module In computing, a loadable kernel module (or LKM) is an object file that contains code to extend the running kernel, or so-called base kernel, of an operating system. LKMs are typically used to add support for new &#8230; <a href="https://www.emblogic.com/blog/01/article-on-lodable-kernel-module/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h1 align="CENTER">Loadable kernel module</h1>
<p align="JUSTIFY">In computing, a loadable kernel module (or <strong>LKM</strong>) is an object file that contains code to extend the running kernel, or so-called base kerne<em>l</em>, of an operating system. LKMs are typically used to add support for new hardware and/or filesystems, or for adding system calls. When the functionality provided by a LKM is no longer required, it can be unloaded in order to free memory and other resources.</p>
<p align="JUSTIFY">Most current Unix-like systems and Microsoft Windows support loadable kernel modules, although they might use a different name for them, such as kernel loadable module (<strong>kld</strong>) in FreeBSD, kernel extension (kext) in OS X and kernel-mode driver in Windows NT. They are also known as Kernel Loadable Modules (or <strong>KLM</strong>), and simply as Kernel Modules (<strong>KMOD</strong>)</p>
<p align="JUSTIFY">
<h2 align="LEFT"><a name="Advantages"></a>Advantages</h2>
<p align="JUSTIFY">Without loadable kernel modules, an operating system would have to include all possible anticipated functionality already compiled directly into the base kernel. Much of that functionality would reside in memory without being used, wasting memory, and would require that users rebuild and reboot the base kernel every time they require new functionality. Most operating systems supporting loadable kernel modules will include modules to support most desired functionality.</p>
<p align="JUSTIFY">
<h2 align="LEFT"><a name="Disadvantages"></a>Disadvantages</h2>
<p align="JUSTIFY">One minor criticism of preferring a modular kernel over a static kernel is the so-called Fragmentation Penalty. The base kernel is always unpacked into real contiguous memory by its setup routines; so, the base kernel code is never fragmented. Once the system is in a state where modules may be inserted—for example, once the filesystems have been mounted that contain the modules—it is probable that any new kernel code insertion will cause the kernel to become fragmented, thereby introducing a minor performance penalty.</p>
<p align="LEFT">
<p align="LEFT"><span style="font-size: large"><strong>Implementation of LKM in linux</strong></span></p>
<p align="LEFT">
<p align="JUSTIFY"><span style="font-size: small">Loadable kernel modules in Linux are loaded (and unloaded) by the i</span><tt><span style="font-size: small">nsmode</span></tt><span style="font-size: small"> command. They are located in </span><tt><span style="font-size: small">/lib/modules</span></tt><span style="font-size: small"> and have had the extension </span><tt><span style="font-size: small">.ko</span></tt><span style="font-size: small"> (&#8220;kernel object&#8221;) since version 2.6 (previous versions used the </span><tt><span style="font-size: small">.o</span></tt><span style="font-size: small"> extension).The </span><tt><span style="font-size: small">lsmod</span></tt><span style="font-size: small"> command lists the loaded kernel modules. In emergency cases, when the system fails to boot due to e.g. broken modules, specific modules can be enabled or disabled by modifying the kernel boot parameters list (for example, if using GRUB, by pressing &#8216;e&#8217; in the GRUB start menu, then editing the kernel parameter line).</span></p>
<p align="JUSTIFY">
<p align="JUSTIFY"><span style="font-size: small">In the opinion of Linux maintainers, LKM are derived works of the kernel. The Linux maintainers tolerate the distribution of proprietary modules, but allow symbols to be marked as only available to GNU General Public License (GPL) modules.</span></p>
<p align="JUSTIFY">Loading a proprietary or non-GPL-compatible LKM will set a &#8216;taint&#8217; flagin the running kernel—meaning that any problems or bugs experienced will be less likely to be investigated by the maintainers. LKMs effectively become part of the running kernel, so can corrupt kernel data structures and produce bugs.</p>
<p align="LEFT"><span style="font-size: small">In 2004, Linuxant—a consulting company that releases proprietary device drivers as loadable kernel modules—attempted to bypass GPLONLY symbol restrictions by abusing a NULL terminator in their </span></p>
<p align="LEFT"><span style="font-size: small">module license i.e.,</span></p>
<p align="LEFT">
<p align="LEFT"><code><span style="font-size: medium">MODULE_LICENSE</span></code><span style="font-size: medium">:</span></p>
<p align="LEFT">
<pre><span style="font-family: Liberation Serif,serif"><span style="font-size: small">MODULE_LICENSE("GPLfor files in the \"GPL\" directory; for others, only LICENSE file applies");</span></span></pre>
<p align="LEFT">
<p align="JUSTIFY"><span style="font-size: small">Linux allows disabling module loading via sysctl option </span><code><span style="font-family: Liberation Serif,serif"><span style="font-size: small">/proc/sys/kernel/modules_disabled .An initramfs system may load specific modules needed for a machine at boot and then disable module loading. This makes the security very similar to a monolithic kernel. If an attacker can change the initramfs, they can change the kernel binary.</span></span></code></p>
<p align="JUSTIFY">
<p align="LEFT">
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/article-on-lodable-kernel-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DEVICE DRIVER</title>
		<link>https://www.emblogic.com/blog/01/device-driver-10/</link>
		<comments>https://www.emblogic.com/blog/01/device-driver-10/#comments</comments>
		<pubDate>Mon, 06 Jan 2014 12:24:14 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Character Driver]]></category>
		<category><![CDATA[pravjot sir]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8044</guid>
		<description><![CDATA[head    1.3; access; symbols; locks root:1.3; strict; comment @ * @; 1.3 date    2014.01.07.05.55.57;    author root;    state Exp; branches; next    1.2; 1.2 date    2014.01.07.04.44.27;    author root;    state Exp; branches; next    1.1; 1.1 date    2014.01.07.03.22.24;    author root;    state Exp; branches; next    &#8230; <a href="https://www.emblogic.com/blog/01/device-driver-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>head    1.3;<br />
access;<br />
symbols;<br />
locks<br />
root:1.3; strict;<br />
comment @ * @;</p>
<p>1.3<br />
date    2014.01.07.05.55.57;    author root;    state Exp;<br />
branches;<br />
next    1.2;</p>
<p>1.2<br />
date    2014.01.07.04.44.27;    author root;    state Exp;<br />
branches;<br />
next    1.1;</p>
<p>1.1<br />
date    2014.01.07.03.22.24;    author root;    state Exp;<br />
branches;<br />
next    ;</p>
<p>desc<br />
@device driver registerd using alloc_chrdev_region<br />
@</p>
<p>1.3<br />
log<br />
@device structure cdev initialized and cdev is added to device table<br />
@</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/device-driver-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DEVICE DRIVER SCULLDEV ALLOCATION &amp; DEALLOCATION</title>
		<link>https://www.emblogic.com/blog/01/device-driver-sculldev-allocation-deallocation/</link>
		<comments>https://www.emblogic.com/blog/01/device-driver-sculldev-allocation-deallocation/#comments</comments>
		<pubDate>Mon, 06 Jan 2014 11:15:26 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Character Driver]]></category>
		<category><![CDATA[pravjot sir]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8033</guid>
		<description><![CDATA[module initialization log_file head    1.2; access; symbols; locks root:1.2; strict; comment @ * @; 1.2 date    2014.01.07.04.44.27;    author root;    state Exp; branches; next    1.1; 1.1 date    2014.01.07.03.22.24;    author root;    state Exp; branches; next    ; desc @device driver registerd using alloc_chrdev_region &#8230; <a href="https://www.emblogic.com/blog/01/device-driver-sculldev-allocation-deallocation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>module initialization log_file</p>
<p>head    1.2;<br />
access;<br />
symbols;<br />
locks<br />
root:1.2; strict;<br />
comment @ * @;</p>
<p>1.2<br />
date    2014.01.07.04.44.27;    author root;    state Exp;<br />
branches;<br />
next    1.1;</p>
<p>1.1<br />
date    2014.01.07.03.22.24;    author root;    state Exp;<br />
branches;<br />
next    ;</p>
<p>desc<br />
@device driver registerd using alloc_chrdev_region<br />
@</p>
<p>1.2<br />
log<br />
@device driver structure(Sculldev) represented &amp; memory allocated using kmalloc<br />
@<br />
_______________________________________________________________________________________________________</p>
<p>module clean_up log_file</p>
<p>head    1.2;<br />
access;<br />
symbols;<br />
locks; strict;<br />
comment @ * @;</p>
<p>1.2<br />
date    2014.01.07.04.46.28;    author root;    state Exp;<br />
branches;<br />
next    1.1;</p>
<p>1.1<br />
date    2014.01.07.03.26.40;    author root;    state Exp;<br />
branches;<br />
next    ;</p>
<p>desc<br />
@device driver unregisterd using unregister_chrdev_region<br />
@</p>
<p>1.2<br />
log<br />
@device driver structure(Sculldev) deallocated using kfree &amp; device driver unregistered<br />
@</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/device-driver-sculldev-allocation-deallocation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>device driver module registration</title>
		<link>https://www.emblogic.com/blog/01/device-driver-module-registration/</link>
		<comments>https://www.emblogic.com/blog/01/device-driver-module-registration/#comments</comments>
		<pubDate>Mon, 06 Jan 2014 09:50:06 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Character Driver]]></category>
		<category><![CDATA[pravjot sir]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8016</guid>
		<description><![CDATA[module initialization log_file head    1.1; access; symbols; locks root:1.1; strict; comment @ * @; 1.1 date    2014.01.07.03.22.24;    author root;    state Exp; branches; next    ; desc @device driver registerd using alloc_chrdev_region @ 1.1 log @Initial revision @ ______________________________________________________________________________________________________________________________________________________________________ module clean_up log_file &#8230; <a href="https://www.emblogic.com/blog/01/device-driver-module-registration/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>module initialization log_file</p>
<p>head    1.1;<br />
access;<br />
symbols;<br />
locks<br />
root:1.1; strict;<br />
comment @ * @;</p>
<p>1.1<br />
date    2014.01.07.03.22.24;    author root;    state Exp;<br />
branches;<br />
next    ;</p>
<p>desc<br />
@device driver registerd using alloc_chrdev_region<br />
@</p>
<p>1.1<br />
log<br />
@Initial revision<br />
@</p>
<p>______________________________________________________________________________________________________________________________________________________________________</p>
<p>module clean_up log_file</p>
<p>head    1.1;<br />
access;<br />
symbols;<br />
locks<br />
root:1.1; strict;<br />
comment @ * @;</p>
<p>1.1<br />
date    2014.01.07.03.26.40;    author root;    state Exp;<br />
branches;<br />
next    ;</p>
<p>desc<br />
@device driver unregisterd using unregister_chrdev_region<br />
@</p>
<p>1.1<br />
log<br />
@Initial revision<br />
@</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/device-driver-module-registration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>socket programming</title>
		<link>https://www.emblogic.com/blog/12/socket-programming-3/</link>
		<comments>https://www.emblogic.com/blog/12/socket-programming-3/#comments</comments>
		<pubDate>Tue, 31 Dec 2013 10:17:36 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Project 04: FTP based Client Server using Threads and Sockets]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7988</guid>
		<description><![CDATA[1 head    1.1; 2 access; 3 symbols; 4 locks 5         root:1.1; strict; 6 comment @ * @; 7 8 9 1.1 10 date    2013.12.31.10.09.33;    author root;    state Exp; 11 branches; 12 next    ; 13 14 15 desc 16 @AF_INET server &#8230; <a href="https://www.emblogic.com/blog/12/socket-programming-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>1 head    1.1;<br />
2 access;<br />
3 symbols;<br />
4 locks<br />
5         root:1.1; strict;<br />
6 comment @ * @;<br />
7<br />
8<br />
9 1.1<br />
10 date    2013.12.31.10.09.33;    author root;    state Exp;<br />
11 branches;<br />
12 next    ;<br />
13<br />
14<br />
15 desc<br />
16 @AF_INET server source code<br />
17 @<br />
18<br />
19<br />
20 1.1<br />
21 log<br />
22 @Initial revision<br />
23 @<br />
________________________________________________________________________________________________________</p>
<p>1 head    1.1;<br />
2 access;<br />
3 symbols;<br />
4 locks<br />
5         root:1.1; strict;<br />
6 comment @ * @;<br />
7<br />
8<br />
9 1.1<br />
10 date    2013.12.31.10.11.31;    author root;    state Exp;<br />
11 branches;<br />
12 next    ;<br />
13<br />
14<br />
15 desc<br />
16 @AF_INET client source code<br />
17 @<br />
18<br />
19<br />
20 1.1<br />
21 log<br />
22 @Initial revision<br />
23 @</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/12/socket-programming-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Article on socket</title>
		<link>https://www.emblogic.com/blog/12/article-on-socket/</link>
		<comments>https://www.emblogic.com/blog/12/article-on-socket/#comments</comments>
		<pubDate>Sun, 29 Dec 2013 11:13:43 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7893</guid>
		<description><![CDATA[Socket Introduction The endpoint in an interprocess communication is called a socket, or a network socket for disambiguation. Since most communication between computers is based on the Internet Protocol, an almost equivalent term is Internet socket. The data transmission between &#8230; <a href="https://www.emblogic.com/blog/12/article-on-socket/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h1 style="text-align: center"><strong>Socket</strong></h1>
<p style="text-align: left"><strong></strong>Introduction</p>
<p>The endpoint in an interprocess communication is called a socket, or a network socket for disambiguation. Since most communication between computers is based on the Internet Protocol, an almost equivalent term is <em>Internet socket</em>. The data transmission between two sockets is organised by communication protocols.usually implemented in the operating system of the participating computers. Application programs write to and read from these sockets. Therefore, network programming is essentially socket programming.</p>
<h1>Programming with TCP/IP sockets</h1>
<p>There are a few steps involved in using sockets:</p>
<ol>
<li>Create the socket</li>
<li>Identify the socket</li>
<li>On the server, wait for an incoming connection</li>
<li>On the client, connect to the server&#8217;s socket</li>
<li>Send and receive messages</li>
<li>Close the socket</li>
</ol>
<h2>Step 1. Create a socket</h2>
<p>A socket, <code>s</code>, is created with the <em>socket</em> system call:</p>
<div>int s = socket(domain, type, protocol)</div>
<p>All the parameters as well as the return value are integers:</p>
<dl>
<dt>domain, or address family —</dt>
<dd>communication domain in which the socket should be created. Some of address families are AF_INET (IP), AF_INET6 (IPv6), AF_UNIX (local channel, similar to pipes), AF_ISO (ISO protocols), and AF_NS (Xerox Network Systems protocols).</dd>
<dt>type —</dt>
<dd>type of service. This is selected according to the properties required by the application: SOCK_STREAM (virtual circuit service), SOCK_DGRAM (datagram service), SOCK_RAW (direct IP service). Check with your address family to see whether a particular service is available.</dd>
<dt>protocol —</dt>
<dd>indicate a specific protocol to use in supporting the sockets operation. This is useful in cases where some families may have more than one protocol to support a given type of service. The return value is a file descriptor (a small integer). The analogy of creating a socket is that of requesting a telephone line from the phone company.</dd>
</dl>
<p>For TCP/IP sockets, we want to specify the IP address family (AF_INET) and virtual circuit service (SOCK_STREAM). Since there&#8217;s only one form of virtual circuit service, there are no variations of the protocol, so the last argument, <em>protocol</em>, is zero.</p>
<h2>Step 2. Indentify (name) a socket</h2>
<p>When we talk about <em>naming</em> a socket, we are talking about assigning a transport address to the socket (a port number in IP networking). In sockets, this operation is called binding an address and the <em>bind</em> system call is used for this. The analogy is that of assigning a phone number to the line that you requested from the phone company in step 1 or that of assigning an address to a mailbox.</p>
<p>The transport address is defined in a socket address structure. Because sockets were designed to work with various different types of communication interfaces, the interface is very general. Instead of accepting, say, a port number as a parameter, it takes a <code>sockaddr</code> structure whose actual format is determined on the address family (type of network) you&#8217;re using. For example, if you&#8217;re using UNIX domain sockets, <em>bind</em> actually creates a file in the file system.</p>
<p>The system call for <em>bind</em> is:</p>
<p>#include &lt;sys/socket.h&gt;</p>
<p>int bind(int socket, const struct sockaddr *address, socklen_t address_len);</p>
<h2>Step 3a. Connect to a server from a client</h2>
<p>If we&#8217;re a client process, we need to establish a connection to the server. Now that we have a socket that knows where it&#8217;s coming <em>from</em>, we need to tell it where it&#8217;s going <em>to</em>. The <em>connect</em> system call accomplishes this.</p>
<div>#include &lt;sys/types.h&gt;</div>
<div>#include &lt;sys/socket.h&gt;</div>
<div>int connect(int socket, const struct sockaddr *address, socklen_t address_len);</div>
<div></div>
<div>
<h2>Step 3b. Accept connections on the server</h2>
<p>Before a client can connect to a server, the server should have a socket that is prepared to accept the connections. The <em>listen</em> system call tells a socket that it should be capable of accepting incoming connections:</p>
<div>#include &lt;sys/socket.h&gt; int listen(int socket, int backlog);</div>
</div>
<div></div>
<div>
<h2>Step 4. Communicate</h2>
<p>We <em>finally</em> have connected sockets between a client and a server! Communication is the easy part. The same <em>read</em> and <em>write</em> system calls that work on files also work on sockets. We can send 20 bytes from the client to server with:</p>
<div>char buffer[MAXBUF]; &#8230; nbytes = write(fd, buffer, 20); /* write 20 bytes in buffer */</div>
</div>
<div></div>
<div>
<h2>Step 5. Close the connection</h2>
<p>When we&#8217;re done communicating, the easiest thing to do is to close a socket with the <em>close</em> system call — the same <em>close</em> that is used for files.</p>
<p><em></em>#include &lt;sys/socket.h&gt;</p>
<div>int close(int fd);</div>
</div>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/12/article-on-socket/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SOCKET programming (client server implementation)</title>
		<link>https://www.emblogic.com/blog/12/socket-programming-clinet-server-implementation/</link>
		<comments>https://www.emblogic.com/blog/12/socket-programming-clinet-server-implementation/#comments</comments>
		<pubDate>Sun, 29 Dec 2013 10:35:27 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Project 04: FTP based Client Server using Threads and Sockets]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7886</guid>
		<description><![CDATA[SERVER LOG FILE head    1.1; 2 access; 3 symbols; 4 locks 5         root:1.1; strict; 6 comment @ * @; 7 8 9 1.1 10 date    2013.12.29.10.12.34;    author root;    state Exp; 11 branches; 12 next    ; 13 14 15 desc 16 &#8230; <a href="https://www.emblogic.com/blog/12/socket-programming-clinet-server-implementation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>SERVER LOG FILE</p>
<p>head    1.1;<br />
2 access;<br />
3 symbols;<br />
4 locks<br />
5         root:1.1; strict;<br />
6 comment @ * @;<br />
7<br />
8<br />
9 1.1<br />
10 date    2013.12.29.10.12.34;    author root;    state Exp;<br />
11 branches;<br />
12 next    ;<br />
13<br />
14<br />
15 desc<br />
16 @@main server source code<br />
17<br />
18<br />
19 1.1<br />
20 log<br />
21 @Initial revision<br />
22 @<br />
________________________________________________________________________________________________________</p>
<p>CLIENT LOG FILE</p>
<p>1 head    1.1;<br />
2 access;<br />
3 symbols;<br />
4 locks; strict;<br />
5 comment @ * @;<br />
6<br />
7<br />
8 1.1<br />
9 date    2013.12.29.10.26.00;    author root;    state Exp;<br />
10 branches;<br />
11 next    ;<br />
12<br />
13<br />
14 desc<br />
15 @client program is working<br />
16 @<br />
17<br />
18<br />
19 1.1<br />
20 log<br />
21 @Initial revision<br />
22 @</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/12/socket-programming-clinet-server-implementation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPC using message queues</title>
		<link>https://www.emblogic.com/blog/12/ipc-using-message-queues/</link>
		<comments>https://www.emblogic.com/blog/12/ipc-using-message-queues/#comments</comments>
		<pubDate>Tue, 24 Dec 2013 11:13:09 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Project 03: Client Server Communication using Linux and IPC]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7839</guid>
		<description><![CDATA[Log File For Server: head    1.2; access; symbols; locks root:1.2; strict; comment    @ * @; 1.2 date    2013.12.24.10.09.27;    author root;    state Exp; branches; next    1.1; 1.1 date    2013.12.24.09.32.25;    author root;    state Exp; branches; next    ; desc @This is the main &#8230; <a href="https://www.emblogic.com/blog/12/ipc-using-message-queues/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Log File For Server:</p>
<p>head    1.2;<br />
access;<br />
symbols;<br />
locks<br />
root:1.2; strict;<br />
comment    @ * @;</p>
<p>1.2<br />
date    2013.12.24.10.09.27;    author root;    state Exp;<br />
branches;<br />
next    1.1;</p>
<p>1.1<br />
date    2013.12.24.09.32.25;    author root;    state Exp;<br />
branches;<br />
next    ;</p>
<p>desc<br />
@This is the main server source file for client server project using message queue.<br />
@</p>
<p>1.2<br />
log<br />
@This is the final source code of server.<br />
change the value of msg_id of msg_st.<br />
————————————————————————————————</p>
<p>Log File For Req_add<br />
head    1.1;<br />
access;<br />
symbols;<br />
locks<br />
root:1.1; strict;<br />
comment    @ * @;</p>
<p>1.1<br />
date    2013.12.24.09.38.26;    author root;    state Exp;<br />
branches;<br />
next    ;</p>
<p>desc<br />
@This is the request client for addition.<br />
@</p>
<p>1.1<br />
log<br />
@Initial revision</p>
<p>&nbsp;</p>
<p>—————————————————————————————-</p>
<p>Log file for Req_sub</p>
<p>head    1.1;<br />
access;<br />
symbols;<br />
locks<br />
root:1.1; strict;<br />
comment    @ * @;</p>
<p>1.1<br />
date    2013.12.24.10.06.30;    author root;    state Exp;<br />
branches;<br />
next    ;</p>
<p>desc<br />
@This is the source code of requesting client for substration.<br />
@</p>
<p>1.1<br />
log<br />
@Initial revision</p>
<p>&nbsp;</p>
<p>—————————————————————————————-</p>
<p>log file for Req_Mul</p>
<p>head    1.1;<br />
access;<br />
symbols;<br />
locks<br />
root:1.1; strict;<br />
comment    @ * @;</p>
<p>1.1<br />
date    2013.12.24.10.07.13;    author root;    state Exp;<br />
branches;<br />
next    ;</p>
<p>desc<br />
@This is source code of requesting client for multiplication.<br />
@</p>
<p>1.1<br />
log<br />
@Initial revision</p>
<p>—————————————————————————————</p>
<p>Log file For Proccesing_Add</p>
<p>head    1.1;<br />
access;<br />
symbols;<br />
locks<br />
root:1.1; strict;<br />
comment    @ * @;</p>
<p>1.1<br />
date    2013.12.24.09.54.10;    author root;    state Exp;<br />
branches;<br />
next    ;</p>
<p>desc<br />
@This is the source code of processing client for addition.<br />
@</p>
<p>1.1<br />
log<br />
@Initial revision</p>
<p>—————————————————————————————</p>
<p>Log file For Proccesing_Sub</p>
<p>head    1.1;<br />
access;<br />
symbols;<br />
locks<br />
root:1.1; strict;<br />
comment    @ * @;</p>
<p>1.1<br />
date    2013.12.24.10.08.22;    author root;    state Exp;<br />
branches;<br />
next    ;</p>
<p>desc<br />
@This is source code of processing client for substraction.<br />
@</p>
<p>1.1<br />
log<br />
@Initial revision</p>
<p>—————————————————————————————</p>
<p>Log file For Proccesing_Mul</p>
<p>head    1.1;<br />
access;<br />
symbols;<br />
locks<br />
root:1.1; strict;<br />
comment    @ * @;</p>
<p>1.1<br />
date    2013.12.24.10.09.14;    author root;    state Exp;<br />
branches;<br />
next    ;</p>
<p>desc<br />
@This is source code of processing client for multiplcation.<br />
@</p>
<p>1.1<br />
log<br />
@Initial revision</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/12/ipc-using-message-queues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Article On Command Line Arguments</title>
		<link>https://www.emblogic.com/blog/12/article-on-command-line-arguments/</link>
		<comments>https://www.emblogic.com/blog/12/article-on-command-line-arguments/#comments</comments>
		<pubDate>Fri, 20 Dec 2013 08:23:21 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7773</guid>
		<description><![CDATA[Command Line Arguments Getting the arguments from command prompt in c is known as command line arguments. Command line is that it consists of a sequence of words,typically separated by space. Main program can receive these words as an array &#8230; <a href="https://www.emblogic.com/blog/12/article-on-command-line-arguments/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h3 align="CENTER"><span style="font-family: Linux Libertine">Command Line Arguments </span></h3>
<ul>
<li><span style="font-family: Linux Libertine">Getting the arguments from command prompt in c is known as command line arguments. </span></li>
<li><span style="font-family: Linux Libertine">Command line is that it consists of a sequence of words,typically separated by space. Main program can receive these words as an array of strings,one word per string. </span></li>
<li><span style="font-family: Linux Libertine">main function will accept 2 parameters ,argv and argc </span></li>
<li><span style="font-family: Linux Libertine">argc will be the count of the number of strings given on the command line. </span></li>
<li><span style="font-family: Linux Libertine">argv will be the array of the arguments.since each word is a string argv is an array of pointers to char </span></li>
<li><span style="font-family: Linux Libertine">Example:<br />
int main(int argc,char *argv[]){statements to be executed} </span></li>
<li><span style="font-family: Linux Libertine">The strings at the command line are stored in memory and address of the first string is stored in argv[0],address of the second string is stored in argv[1] and so on. </span></li>
<li><span style="font-family: Linux Libertine">we can give any name instead of argv and argc<br />
Example:<br />
main(int count,char*str[]){&#8230;..} </span></li>
<li><span style="font-family: Linux Libertine">Example Program<br />
#include&lt;stdio.h&gt;<br />
int main(int argc,char *argv[])<br />
{<br />
int i;<br />
printf(&#8220;Number of Arguments passed=%d\n&#8221;,argc);<br />
for(i=0;i&lt;argc;i++)<br />
printf(&#8220;argv[%d]=%s\n&#8221;,i,argv[i]);<br />
return;<br />
}<br />
<span style="text-decoration: underline">Output</span><br />
emblogic@host:~/$ ./a.out g h k<br />
Number of Arguments passed=4<br />
argv[0]=./a.out<br />
argv[1]=g<br />
argv[2]=h<br />
argv[3]=k </span></li>
</ul>
<p><span style="font-family: Linux Libertine"><strong>Command Line Arguments in Unix/Linux:</strong></span></p>
<ul>
<li><span style="font-family: Linux Libertine"><span style="font-family: Linux Libertine">Most Unix/Linux applications lets the user to specify command-line arguments (parameters) in 2 forms</span></span><strong>* Short options </strong><br />
consist of a &#8211; character followed by a single alphanumeric character<br />
for example for listing the files the command is ls -l<br />
* <strong>Long options (common in GNU applications)</strong><br />
consists of two &#8211; characters (&#8211;) followed by a string made up of letters, numbers, and hyphens.</li>
<li><span style="font-family: Linux Libertine">Either type of option may be followed by an argument. </span></li>
<li><span style="font-family: Linux Libertine">A space separates a short option from its arguments </span></li>
<li><span style="font-family: Linux Libertine">Either a space or an = separates a long option from an argument. </span></li>
<li><span style="font-family: Linux Libertine">GNU C provides 2 functions, <span style="font-size: medium">getopt </span>and <span style="font-size: medium">getopt_long() </span>to parse the command line args specified in the above format </span></li>
<li><span style="font-family: Linux Libertine">getopt &#8211; supports parsing only short options </span></li>
<li><span style="font-family: Linux Libertine">getopt_long &#8211; supports parsing of both short and long options.</span></li>
</ul>
<p><span style="font-family: Linux Libertine"><span style="font-size: large"><strong>getopt_long()</strong></span></span></p>
<ul>
<li><span style="font-family: Linux Libertine"><span style="font-family: Linux Libertine">This function is defined in getopt.h</span></span>Syntax:<br />
&#8212;&#8212;-<br />
int *getopt_long* (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *indexptr)</p>
<p>Usage:<br />
&#8212;&#8212;<br />
while (getopt_long (argc, argv, shortopts, longopts, index) != -1) {<br />
}</p>
<p>Parameters<br />
&#8212;&#8212;&#8212;-<br />
<strong>argc</strong> and <strong>argv</strong> are the command line args passed to main<br />
<strong>shortopts:</strong> This is a string containing all the valid short option characters An option character can be followed by<br />
a colon (:) to indicate that it takes a required argument. (or)<br />
2 colon (::) to indicate that its argument is optional shortopts can begin with a + to indicate that getopts_long should stop processing on sensing an unexpected arg<br />
Ex: If we have have a program that can accept the short args -a and -b, the option string would be &#8220;ab&#8221;Now, if we have to force a mandatory required parameter for -a, but not for -b, the option string would be &#8220;a:b::&#8221;</p>
<p>&nbsp;</p>
<p>&nbsp;</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/12/article-on-command-line-arguments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Article on Linux  Administration</title>
		<link>https://www.emblogic.com/blog/12/article-on-linux-administration/</link>
		<comments>https://www.emblogic.com/blog/12/article-on-linux-administration/#comments</comments>
		<pubDate>Thu, 05 Dec 2013 10:55:45 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Project 00: Linux System / Network Administration]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7617</guid>
		<description><![CDATA[ Linux Administration This article is about the operating system.The Unix operating system was conceived and implemented in 1969 at AT&#38;T&#8217;s Bell Laboratories in the United States by Ken Thompson, Dennis Ritchie, Douglas McIlroy, and Joe Ossanna. It was first released &#8230; <a href="https://www.emblogic.com/blog/12/article-on-linux-administration/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p align="JUSTIFY"> <span style="font-size: large">Linux Administration</span></p>
<p align="JUSTIFY">This article is about the operating system.The Unix operating system was conceived and implemented in 1969 at AT&amp;T&#8217;s Bell Laboratories in the United States by Ken Thompson, Dennis Ritchie, Douglas McIlroy, and Joe Ossanna. It was first released in 1971, and initially, was written entirely in assembly language, a common practice at the time. Later, in a key pioneering approach in 1973, Unix was re-written in the programming language <a href="http://en.wikipedia.org/wiki/C_%28programming_language%29">C</a> by Dennis Ritchie (with exceptions to the kernel and I/O). The availability of an operating system written in a high-level language allowed easier portability to different computer platforms.</p>
<p align="JUSTIFY">With AT&amp;T being required to license the operating system&#8217;s source code to anyone who asked (due to an earlier antitrust case forbidding them from entering the computer business),Unix grew quickly and became widely adopted by academic institutions and businesses. In 1984, AT&amp;T divested itself of Bell Labs. Free of the legal obligation requiring free licensing, Bell Labs began selling Unix as a proprietary product.</p>
<p align="JUSTIFY">Linux is any Unix-like and POSIX-compliant computer operating system assembled under the model of free and open source software development and distribution. The main form of distribution are Linux distributions. The defining component of Linux is the Linux kernel, an operating system kernel first released on 5 October 1991, by Linus Torvalds. Because it considers Linux to be a variant of the GNU operating system, initiated in 1983 by Richard Stallman, the Free Software Foundation prefers the name <strong>GNU/Linux</strong> when referring to the operating system as a whole .</p>
<p align="JUSTIFY">Linux was originally developed as a free operating system for Intel x86-based personal computers. It has since been ported to more computer hardware platforms than any other operating system. It is a leading operating system on servers and other big iron systems such as mainframe computers and supercomputers: as of June 2013, more than 95% of the world&#8217;s 500 fastest supercomputers run some variant of Linux,including all the 44 fastest. Linux also runs on embedded systems (devices where the operating system is typically built into the firmware and highly tailored to the system) such as mobile phones,tablet computers, network routers, building automation controls, televisions and video game consoles; the Android system in wide use on mobile devices is built on the Linux kernel.</p>
<p align="JUSTIFY">The development of Linux is one of the most prominent examples of free and open source software collaboration: the underlying source code may be used, modified, and distributed — commercially or non-commercially — by anyone under licenses such as the GNU General Public License. Typically, Linux is packaged in a format known as a <em>Linux distribution</em> for desktop and server use. Some popular mainstream Linux distributions include Debian (and its derivatives such as Ubuntu and Linux Mint), Fedora (and its derivatives such as the commercial Red Hat Enterprise Linux and its open equivalent CentOS), Mandriva/Mageia, openSUSE (and its commercial derivative SUSE Linux Enterprise Server), and Arch Linux. Linux distributions include the Linux kernel, supporting utilities and libraries and usually a large amount of application software to fulfill the distribution&#8217;s intended use.</p>
<p align="JUSTIFY">A distribution oriented toward desktop use will typically include the windowing systems X11 and Wayland and an accompanying desktop environment such as GNOME or the KDE Software Compilation. Some such distributions may include a less resource intensive desktop such as LXDE or Xfce for use on older or less powerful computers. A distribution intended to run as a server may omit all graphical environments from the standard install and instead include other software to set up and operate a LAMP or a LYCE solution stack. Because Linux is freely redistributable, anyone may create a distribution for any intended use.</p>
<p align="JUSTIFY">
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/12/article-on-linux-administration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>https://www.emblogic.com/blog/11/7557/</link>
		<comments>https://www.emblogic.com/blog/11/7557/#comments</comments>
		<pubDate>Tue, 26 Nov 2013 03:49:17 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7557</guid>
		<description><![CDATA[PROJECT-01(Multiple Data Compression) &#160; As per the project started from basics of &#8216;c&#8217;, i.e introduction of c ,syntax and semantics control structures -conditionals ,loops,arrays,strings,project management tools,file io,functions,structures,queus stacks ,searching and sorting. My part of work and work status is – &#8230; <a href="https://www.emblogic.com/blog/11/7557/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>PROJECT-01(Multiple Data Compression)</p>
<p>&nbsp;</p>
<p>As per the project started from basics of &#8216;c&#8217;, i.e introduction of c ,syntax and semantics control structures -conditionals ,loops,arrays,strings,project management tools,file io,functions,structures,queus stacks ,searching and sorting.</p>
<p>My part of work and work status is – I had tried to clear the basic concept of c they are -:</p>
<p>-&gt;declaring variables</p>
<p>-&gt;c pre-processors</p>
<p>-&gt;prepossessing statements</p>
<p>-&gt;operators in c</p>
<p>-&gt;data types-&gt;primary data type-&gt; int</p>
<p>char</p>
<p>float</p>
<p>double.</p>
<p>Upto the part above the the topics related are clearly covered and implemented ,and the functions like printf,,scanf,size of a data type were worked and successfully evaluated with control structures and conditionals .the assignments provided by emblogic pvt ltd were very helpful to make the concepts strong and the are also evaluated.</p>
<p>-&gt;secondary data type-&gt;Arrays</p>
<p>pointers</p>
<p>structures</p>
<p>unions</p>
<p>in the above the topics related and the concept of the above were likely to be cleared, but the</p>
<p>assignments provided by emblogic India pvt ltd were a bit hard and it took time for me to implement.</p>
<p>The above topics on implementation status -arrays are successfully implemented and the others</p>
<p>are partially implemented.</p>
<p>-&gt;functions</p>
<p>in the functions of c, the process of creating a function is -&gt;function declaration</p>
<p>-&gt;function call</p>
<p>-&gt;function definition</p>
<p>the above concepts are covered and i had worked with some examples , but the assignments provided are more conceptual and the required logic for the assignment questions are a bit hard as i felt,and i am working to make the concepts well and to solve the assignment as quick as possible.</p>
<p>-&gt;project management tools</p>
<p>-&gt;queues</p>
<p>-&gt;searching and sorting</p>
<p>searching and sorting techniques could be define as the way to search an element in an array</p>
<p>by different methods like:</p>
<p>searching –-&gt;</p>
<p>-&gt;linear searching</p>
<p>The above technique is used to find or search an element in a give set of elements or by using linked list.</p>
<p>The technique linear searching was implemented by taking an array i.e a set elements of same data type arranged and stored in a continuous memory location. A particular element had to be given as a input to the existed set of elements and the work to be done is to search the particular element in the given set of elements. The code for the above technique was successfully written and evaluated.</p>
<p>-&gt;binary searching</p>
<p>the technique binary searching is a searching technique used to search a element in a given set of elements .this searching technique has the same function as linear searching but the method of searching the element is better and it make min complexes. In this the given set of elements are to be arranged i ascending Oder using the sorting technique .the searching techniques are implemented and successfully evaluated.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/11/7557/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>https://www.emblogic.com/blog/10/7400/</link>
		<comments>https://www.emblogic.com/blog/10/7400/#comments</comments>
		<pubDate>Sat, 26 Oct 2013 07:39:38 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Dheeraj sir]]></category>
		<category><![CDATA[Harpreet sir]]></category>
		<category><![CDATA[Jasmeen ma'am]]></category>
		<category><![CDATA[Mr.Pravjot Singh]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7400</guid>
		<description><![CDATA[what is UNIX? difference between linux and UNIX? kindly explain from scratch]]></description>
				<content:encoded><![CDATA[<p>what is UNIX?</p>
<p>difference between linux and UNIX?</p>
<p>kindly explain from scratch</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/10/7400/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>batch-39 project-1</title>
		<link>https://www.emblogic.com/blog/10/batch-39-project-1/</link>
		<comments>https://www.emblogic.com/blog/10/batch-39-project-1/#comments</comments>
		<pubDate>Sat, 26 Oct 2013 06:07:53 +0000</pubDate>
		<dc:creator><![CDATA[u.sravan]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>
		<category><![CDATA[Jasmeen ma'am]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7396</guid>
		<description><![CDATA[kindly give me a suggestion to resolve question no-2 array assignment &#8220;in result i am getting a garbage value&#8221; &#160;]]></description>
				<content:encoded><![CDATA[<p>kindly give me a suggestion to resolve question no-2 array assignment &#8220;in result i am getting a garbage value&#8221;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/10/batch-39-project-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
