Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 17744 Details for
Bug 84653
[FTP] Transferring a file using FTP adds special character to the transferred file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
file with special characters
threads.c (text/plain), 860 bytes, created by
Balasubramaniyan K
on 2005-02-08 03:15:16 EST
(
hide
)
Description:
file with special characters
Filename:
MIME Type:
Creator:
Balasubramaniyan K
Created:
2005-02-08 03:15:16 EST
Size:
860 bytes
patch
obsolete
>#include <stdio.h> >#include <pthread.h> >#include <errno.h> >#include <string.h> > >void *thread_func(void *); > > >int main(int argc , char *argv[]) >{ > pthread_t threadID; > pthread_attr_t attr; > int ret; > pthread_attr_init(&attr); > double ret1 = 5.0; > ret = ret1; > int i = 0; > > for ( i =0; i < argc; i++) { > printf(argv[i]); > } > printf("Main Thread: Hello World\n"); > > getchar(); > ret = pthread_create(&threadID, &attr, &thread_func, NULL); > > if ( ret != 0) { > strerror(ret); > printf("pthread_create failed: errno=%d\n", ret); > return 0 ; > > } > > pthread_join(threadID, NULL); > printf("Main Thread: Exiting\n"); > > return 0 ; >} > > >void *thread_func(void *args) > >{ > printf("Child Thread: Hello World\n"); > printf("Child Thread: Exiting..\n"); > return NULL; > > >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 84653
: 17744 |
17749