Trying to write a program to fill up my harddrive (Linux/C)
Hi guys, I'm trying to write a little program that will fill up my harddrive and will log the process during this.
Now I've come up with this:
But for some reason it only copies the file I make once and then just keeps overwriting it. I tried adding a variable so it would change the name and not overwrite the previous file but it still doesn't work.
Any suggestions?
(sorry if this is the worst programming you've ever seen)
Big thanks!
i want to write a server process in the sco unix 505.The server process will fork multi-child-processes when it first starts.once parent process listen and accept any connect from client,it will transfer the connected sockfd to any free child process and child process will read client request from... (4 Replies)
Hey people i'm very new to linux. I just put a extra 200 gig maxtor HD in my computer. Linux can tell it's there...but it says it cant mount it. How do i mount it manually?
thanks,
John (2 Replies)
Hi,
I am having an input file which contains a group of words,if one specific word comes which goes to next line.
example:
input file===>
shashi country= india comapny= none shashi shashi company= NONE shashi=my name
output===>
shashi country= india comapny= none
shashi
shashi... (6 Replies)
Hello..
I want to take back up from server to local machine and i dont know how to do it using cron and sftp . I can do it by manually typing password in the terminal and taking the back up. How to create a 'backup.sh' file for doing all the back up process and shut down automatically after... (1 Reply)
I need help with the following.
1) Write a program in any language that takes a single integer array parameter and returns the decimal average of the input values.
2) Write a program, in any language, that prints the integers from 1 to 10, along with a cumulative sum of the integers printed... (1 Reply)
I am hoping someone can give me a good free web resource for writing code to compile a binary executable. I am getting fairly decent at writing shell script, are the .f files just shell scripts? Also, I don't know where to begin on the makefiles. The reason I am curious is because I have been... (6 Replies)
I'm planning on using two Linux OS's alongside win 7, one being Fedora KDE 30.
So to prepare for the install I partitioned my harddrive using the Minitool Partition Wizard. I have a 320 GB hdd, so I nade one partiotion about 80 GB forFedora and then left about 70 GB as unused, to later... (2 Replies)
Discussion started by: AndersA
2 Replies
LEARN ABOUT DEBIAN
gtk2::box
Gtk2::Box(3pm) User Contributed Perl Documentation Gtk2::Box(3pm)NAME
Gtk2::Box - wrapper for GtkBox
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Box
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Orientable
METHODS
$box->set_child_packing ($child, $expand, $fill, $padding, $pack_type)
o $child (Gtk2::Widget)
o $expand (boolean)
o $fill (boolean)
o $padding (integer)
o $pack_type (Gtk2::PackType)
boolean = $box->get_homogeneous
$box->set_homogeneous ($homogeneous)
o $homogeneous (boolean)
$box->pack_end ($child, $expand, $fill, $padding)
o $child (Gtk2::Widget)
o $expand (boolean)
o $fill (boolean)
o $padding (integer)
$box->pack_end_defaults ($widget)
o $widget (Gtk2::Widget)
$box->pack_start ($child, $expand, $fill, $padding)
o $child (Gtk2::Widget)
o $expand (boolean)
o $fill (boolean)
o $padding (integer)
$box->pack_start_defaults ($widget)
o $widget (Gtk2::Widget)
list = $box->query_child_packing ($child)
o $child (Gtk2::Widget)
$box->reorder_child ($child, $position)
o $child (Gtk2::Widget)
o $position (integer)
integer = $box->get_spacing
$box->set_spacing ($spacing)
o $spacing (integer)
PROPERTIES
'homogeneous' (boolean : default false : readable / writable / private)
Whether the children should all be the same size
'spacing' (integer : default 0 : readable / writable / private)
The amount of space between children
CHILD PROPERTIES
'expand' (boolean : default true : readable / writable / private)
Whether the child should receive extra space when the parent grows
'fill' (boolean : default true : readable / writable / private)
Whether extra space given to the child should be allocated to the child or used as padding
'pack-type' (Gtk2::PackType : default "start" : readable / writable / private)
A GtkPackType indicating whether the child is packed with reference to the start or end of the parent
'padding' (Glib::UInt : default 0 : readable / writable / private)
Extra space to put between the child and its neighbors, in pixels
'position' (integer : default 0 : readable / writable / private)
The index of the child in the parent
ENUMS AND FLAGS
enum Gtk2::PackType
o 'start' / 'GTK_PACK_START'
o 'end' / 'GTK_PACK_END'
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::Box(3pm)