EmbLogic's Blog

Category Archives: Uncategorized

sir,i have complited all assingement related to terminal.

Posted in Uncategorized | Leave a comment

update of 22-12-2011 to Pravjot Sir

Sir , today ‘s Assignment Q1,Q2,Q3, has  completed  Q4,Q5 i am trying out

Posted in Uncategorized | Leave a comment

linux enviorment variable

sir i see the output to the function syslog,openlog,closelog,extract enviornt variable, getenv(),and,putenv() function………………………….

Posted in Uncategorized | Leave a comment

Status of environment variables

I successfully extract and change the environment variable using getenv() and putenv().also complete the syslog for log entries and and setlogmask….

Posted in Uncategorized | Leave a comment

LINUX ENVIORNMENT

i have completed  these function getenv,putenv,openlog,closelog,setlogmask,syslog only one is left redirect a portion of file using tty  

Posted in Uncategorized | Leave a comment

linux_environment..

i have used the functions->getenv,putenv,openlog,closelog,syslog,setlogmaskenviron,… working on ./dev/tty.

Posted in Uncategorized | Leave a comment

Linux environment assignment status:

I successfully completed following topics, 1.Successfully extracted current environment variable using getenv. 2.Changed current env var using putenv. 3.Extracted all env var using Environ. 4.successfully used syslog,openlog,closelog,setlogmask. 5.working on redirection of portion of output to file.  

Posted in Uncategorized | 1 Comment

linux Environment

i use /dev/tty for redirect the stdout for particular portion for the program but it redirect all the stdout statements…

Posted in Uncategorized | Leave a comment

about linux envirnoment

hii.. when we used the environ varible for fetch the envirnoment variable its only extract the 29 variable but predefine standard environ varible is 157…so wht about remaning…?

Posted in Uncategorized | Leave a comment

we have complited our parallel-port driver for nibble and compatible mode

Posted in Uncategorized | Leave a comment

status of parallel mode

finally….we have completed nibble mode of parallel port….feeling great

Posted in Uncategorized | Tagged | Leave a comment

about parallel port

hiii i have work on parallel port nibble mode and i want to know about my parallel port how many modes support my port? and currently which mode on my port ??? and any method to change the current mode? … Continue reading →

Posted in Uncategorized | Leave a comment

C assignment

IThis following c program working fine but i am unable to understand the flow of program. Please explain. #include char input[] = “SSSWILTECH1\1\11W\WALLMP1″; int main() { int i,c; for(i=2;(c= input[i])!=”;i++) { // printf(“==c:%d..%ci\n”,c,c); switch(c) { case ‘a’: putchar(‘i’); continue; case … Continue reading →

Posted in Uncategorized | Tagged | 1 Comment

Very basic usb driver (just probe and disconnect)

I would like to share my very basic usb driver that i had been working on.. i didnt got much time to complete it.. this driver supports my SAMSUNG S3310 usb mass storage device.. the driver dosent do much, it … Continue reading →

Posted in Uncategorized | Tagged | 1 Comment

ioctl..

In the ioctl function at driver level…….., the switch(cmd) statement have ‘cmd’ as the argument but we can see cmd is of ‘unsigned int’ type… i want to ask how the switch function perform case matching…. switch(cmd) { case IOSQSET: … Continue reading →

Posted in Character Driver, Uncategorized | Tagged | 1 Comment