Is there a Perl func which, when executed, ensures that all the open file descriptors of the corresponding process are flushed immediately?
 
What I am looking for is this...
 
#!/usr/bin/perl
....
....
# Open lots of files here and write some data to them but do not flush any of them...
...
....
a_func_that_flushes_all_open_files();
 
kill -9, getpgrp();
 
 
Thanks,
Arijit
 


Start your day with Yahoo! - make it your home page
_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to