Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: [Question] regarding creat() function

  1. #1
    Junior Member
    Join Date
    Nov 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default [Question] regarding creat() function

    creat() is to create a new file or directories
    lets say i have this
    Kernel.creat( name , Kernel.S_IFDIR ) ;

    I just want to know is there any keyword to delete the file or directory since creat() is to function to create. I want to implement a function to delete. By the way, I'm modifying an operating system called MOSS. If possible, hope to get guidance more to the operating system side. I'm using Eclipse IDE.


  2. #2
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: [Question] regarding creat() function

    To delete it's delete().

Similar Threads

  1. [SOLVED] Quick logic question (Sine function)
    By Actinistia in forum Java Theory & Questions
    Replies: 6
    Last Post: March 24th, 2011, 01:08 PM
  2. How to creat a jButton
    By benglish in forum Java Theory & Questions
    Replies: 5
    Last Post: February 13th, 2011, 04:42 PM
  3. please tell me how to creat an array of an inner cclass;
    By amr in forum What's Wrong With My Code?
    Replies: 2
    Last Post: December 23rd, 2010, 04:24 PM
  4. how to creat one source multiple receiver
    By bhatti in forum Object Oriented Programming
    Replies: 1
    Last Post: December 2nd, 2010, 04:48 PM
  5. Creat a tree from list of strings
    By ayri in forum Loops & Control Statements
    Replies: 0
    Last Post: May 10th, 2010, 10:50 AM