EmbLogic's Blog

Category Archives: Uncategorized

Assignment of exec() system call’

int main() { int fd,wr; char ch[]=”Emblogic”; char *name; name = malloc(sizeof(char)*233); if(name==NULL) { perror(“Malloc”); } fd=open(“file.txt”,O_WRONLY); printf(“File descripter =%d\n”,fd); wr = write(fd,ch,7); if(wr == -1) { perror(“write”); } printf(“wr =%d\n”,wr); sprintf(name,”%d”,fd); printf(“%s\n”,name); execl(“fd1″,”fd1″,name,0); printf(“Bye\n”); }

Posted in Uncategorized | 3 Comments

ioctl

#ifndef _IOC_NONE # define _IOC_NONE 0U #endif #ifndef _IOC_WRITE # define _IOC_WRITE 1U #endif #ifndef _IOC_READ # define _IOC_READ 2U #endif please explain these MACROS and their Scalar values used for determining the direction

Posted in Uncategorized | Tagged | Leave a comment

Working Status

I did Block Device Driver and now, ‘m working on C.

Posted in Uncategorized | Leave a comment

character driver status……

successfully implemented the registration of the driver using register_chrdev, alloc_chrdev_region.and unregistration using unregister_chrdev ,unregister_chrdev_region …….., implemented passing of module_parameter to the module using module_param()…… issues faced: kmalloc not functioning properly……….    

Posted in Uncategorized | Leave a comment

working on project 7 serial port device driver. inthis i setup a communication between two computers serially by using serial port.

Posted in Uncategorized | Leave a comment

Project 3

working on ipc project…

Posted in Uncategorized | Leave a comment

project 3 status

i have completed the given assignment on process replacement.

Posted in Uncategorized | Leave a comment

Project 1

Completed till assignment 4(ARRAY).. Working on Assignment 5(STRINGS)..

Posted in Uncategorized | Leave a comment

project 1

work on array assignment

Posted in Uncategorized | Leave a comment

Project 3: status

complete assignment given in session ……….

Posted in Uncategorized | Leave a comment

i am doing the char device registration

Posted in Uncategorized | Leave a comment

Working Status :: C Test

i m giving online c n data structure test.

Posted in Uncategorized | Leave a comment

working on ipc project…

Posted in Uncategorized | Leave a comment

Character driver

Implemented register_chrdev(),unregister_chrdev(),alloc_chrdev_region(),unregister_chrdev_region….  

Posted in Uncategorized | Leave a comment

PROJECT 01…(status)

Assingment 01 ,02, 03 completed .. working on ASSINGMENT 04 ……………………..

Posted in Uncategorized | Leave a comment