Sponsored Content
Full Discussion: Deep copy of structure in C
Top Forums Programming Deep copy of structure in C Post 302906375 by breezevinay on Thursday 19th of June 2014 07:08:37 AM
Old 06-19-2014
Thanksfor your suggestion . What about allocating memory for the linked list .
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

any idea to copy directory structure

I want to copy the durectory structure having subdirectories in it ... would be greatful if anyone could let me know .. thanks in advance (6 Replies)
Discussion started by: myelvis
6 Replies

2. UNIX for Dummies Questions & Answers

copy files with directory structure

i have a text file as. /database/sp/NTR_Update_Imsi_List.sql /database/sp/NTR_Update_Imsi_Range_List.sql /database/sp/NTR_Vlr_Upload.sql /database/tables/StatsTables.sql /mib/ntr.mib /mib/ntr.v2.mib /scripts/operations/ntr/IMSITracer.ph /scripts/operations/ntr/IMSITracer.pl ... (3 Replies)
Discussion started by: adddy
3 Replies

3. Shell Programming and Scripting

Recursion to Copy a Directory structure

I have the below code to recurse through a given file path. I am able to go to the leaf level once recursively but traversing out is not possible as the required varaibles don't have the values on return. Both typeset and local don't work for my variable definitions. I have the o/p of the sample... (2 Replies)
Discussion started by: avrkiran
2 Replies

4. Shell Programming and Scripting

copy directory structure to a system on the network

I am trying to write a script which has to copy the directory structure from my system to another system on the network. But I dont want the files to be copied. I think I have to start with copying all subdirectories names in a directory to a system on the network. Here's the case: Source... (1 Reply)
Discussion started by: firefox211
1 Replies

5. Shell Programming and Scripting

Copy only folder structure ?

Hello, I am not sure how feasible is it, but trying to copy/create the folders from one box to another. I dont want to copy the content of folder otherwise it'd be too much of data.. The folder structure is quite complex (in deep hierarchy) and its a big effort manually .. Please... (5 Replies)
Discussion started by: navsha
5 Replies

6. Shell Programming and Scripting

Copy a file by creating folder structure in destination as in Souce

Hello, i am having a source directory which consist of multiple sub directories and my destination folder is a empty directory. if try to copy a file source->test->1.txt from source to destination test2 using the commaind. cp source/test/1.txt desti/ It will copy the 1.txt under desti... (1 Reply)
Discussion started by: tsaravanan
1 Replies

7. UNIX for Advanced & Expert Users

Copy Structure excluding some folders

Hi I want to copy the structure from one place to another. -> cd /hol/; -> find . -type d | cpio -pvdm /abc/cat; while copying the structure I want to exclude some directories like test1 and Test. I have read somewhere that this can be done with -prune option. Could anyone... (2 Replies)
Discussion started by: soumodeep123
2 Replies

8. Shell Programming and Scripting

Copy files from input file with dir structure

hi, I want to copy files from source directory based on input file (or output of previous command) and i want to have the SAME DIRECTORY STRUCTURE. Note that i will have other files and directories which i dont want to copy to destination. For example, dir source has following content:... (22 Replies)
Discussion started by: dragon.1431
22 Replies

9. Shell Programming and Scripting

Need to copy a directory structure from one server to another

Hello All, I have got a dev server and a production server will call it as D server and P server. I have a dir structure in my D server and i need to create the same dir structure in P server also using a shell script. If i do a find . in my D server, i am getting an o/p like :- . ./vio... (9 Replies)
Discussion started by: Renjesh
9 Replies

10. Shell Programming and Scripting

How to copy all structure folder create last day?

HI All, please help , i got same case . i want copy folder and directory create yesterday. for sample below : drwxr-xr-x 4 apps apps 33 Nov 23 04:00 xxxxxx@gmai.com drwxr-xr-x 4 apps apps 33 Nov 23 04:00 yyyyyyy@gmail.com drwxr-xr-x 4 apps apps 33 Nov 24 04:00... (2 Replies)
Discussion started by: fajar_3t3
2 Replies
PROP_OBJECT(3)						   BSD Library Functions Manual 					    PROP_OBJECT(3)

NAME
prop_object, prop_object_retain, prop_object_release, prop_object_type, prop_object_equals, prop_object_iterator_next, prop_object_iterator_reset, prop_object_iterator_release -- general property container object functions LIBRARY
Property Container Object Library (libprop, -lprop) SYNOPSIS
#include <prop/proplib.h> void prop_object_retain(prop_object_t obj); void prop_object_release(prop_object_t obj); prop_type_t prop_object_type(prop_object_t obj); bool prop_object_equals(prop_object_t obj1, prop_object_t obj2); prop_object_t prop_object_iterator_next(prop_object_iterator_t iter); void prop_object_iterator_reset(prop_object_iterator_t iter); void prop_object_iterator_release(prop_object_iterator_t iter); DESCRIPTION
The prop_object family of functions operate on all property container object types. prop_object_retain(prop_object_t obj) Increment the reference count on an object. prop_object_release(prop_object_t obj) Decrement the reference count on an object. If the last reference is dropped, the object is freed. prop_object_type(prop_object_t obj) Determine the type of the object. Objects are one of the following types: PROP_TYPE_BOOL Boolean value (prop_bool_t) PROP_TYPE_NUMBER Number (prop_number_t) PROP_TYPE_STRING String (prop_string_t) PROP_TYPE_DATA Opaque data (prop_data_t) PROP_TYPE_ARRAY Array (prop_array_t) PROP_TYPE_DICTIONARY Dictionary (prop_dictionary_t) PROP_TYPE_DICT_KEYSYM Dictionary key symbol (prop_dictionary_keysym_t) If obj is NULL, then PROP_TYPE_UNKNOWN is returned. prop_object_equals(prop_object_t obj1, prop_object_t obj2) Returns true if the two objects are of the same type and are equivalent. prop_object_iterator_next(prop_object_iterator_t iter) Return the next object in the collection (array or dictionary) being iterated by the iterator iter. If there are no more objects in the collection, NULL is returned. prop_object_iterator_reset(prop_object_iterator_t iter) Reset the iterator to the first object in the collection being iterated by the iterator iter. prop_object_iterator_release(prop_object_iterator_t iter) Release the iterator iter. SEE ALSO
prop_array(3), prop_bool(3), prop_data(3), prop_dictionary(3), prop_number(3), prop_string(3), proplib(3) HISTORY
The proplib property container object library first appeared in NetBSD 4.0. BSD
August 21, 2006 BSD
All times are GMT -4. The time now is 11:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy