problem with syscall macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  i am writing a program which willcopy all the lines from system log file /var/log/messages and put it in a user log file
i am using syslog with syscall3 but when i am using write system cal it is not able to write anything
do i have to add something more
i have added the syscall3 macro for write too
do i have to do it for open system call also
i am little bit confuse with the kernel-user mode switching concept too
could you please help me out
thans
sounak




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux