Public bug reported: i am doing an assignment for file manipulation using primitve operations such as "open","close","creat","read","write","lseek","fstat" ..i did a program in which i am creating a file then opening it then writing and reading it..i would like to add one thing that is if the file isn't open or created then while performing any other operation it should give me an error but it doesn't give so.. can u help me ??
i am sending the program i have done..not all operations i have done..yet it is sufficient to solve my problem..i would like to know the code to 'display the error' .. Thank you. ProblemType: Bug Architecture: i386 Date: Sun Oct 19 17:31:43 2008 DistroRelease: Ubuntu 8.04 ExecutablePath: /usr/bin/gnome-terminal Package: gnome-terminal 2.22.1-0ubuntu2 PackageArchitecture: i386 ProcEnviron: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gnome-terminal Uname: Linux 2.6.24-16-generic i686 ** Affects: ubuntu Importance: Undecided Status: New ** Tags: apport-bug -- File primitive operations https://bugs.launchpad.net/bugs/285883 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs