API for copying files and disk usage

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

 



All,
This is not exactly a question pertaining to Kernel. However it would be great if u can help me.

I am programming in Linux , wherein I need to know a couple of things.

1) Does an API exist that can copy file onto another file ( an API equivalent of 'cp') ?

2) Is there an API that tells me the disk usage ( equivalent for cmdline 'du' ) ?

Any pointers would be greatly appreciated.

Thanks n regards
Sankar

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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