Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/28/04 10:10
Read: times


 
#78243 - RE: Keil strncpy function doubt?????
Responding to: ???'s previous message
Hmmmm....

Are you sure that strncpy() is what you actually want? strncpy() will copy a string from source to destination; the copy terminates when a null character is found or n characters have been copied.

See:

http://www.keil.com/support/m...trncpy.htm

Although the above link is not crystal clear.

Perhaps you actualy want memcpy().

See:

http://www.keil.com/support/m...memcpy.htm



List of 26 messages in thread
TopicAuthorDate
Keil strncpy function doubt?????            01/01/70 00:00      
   RE: Keil strncpy function doubt?????            01/01/70 00:00      
      RE: Keil strncpy function doubt?????            01/01/70 00:00      
   RE: Keil strncpy function doubt?????            01/01/70 00:00      
      RE: Keil strncpy function doubt?????            01/01/70 00:00      
         RE: Keil strncpy function doubt?????            01/01/70 00:00      
            Encoder Direction            01/01/70 00:00      
               RE: Encoder Direction            01/01/70 00:00      
                  RE: Encoder Direction            01/01/70 00:00      
                     RE: Encoder Direction            01/01/70 00:00      
                        RE: Encoder Direction            01/01/70 00:00      
                           RE: Encoder Direction            01/01/70 00:00      
                              RE: Encoder Direction            01/01/70 00:00      
                     RE: Encoder Direction            01/01/70 00:00      
                        Thanks a *            01/01/70 00:00      
                        Need help for low ESR Capacitors            01/01/70 00:00      
         RE: Keil strncpy function doubt?????            01/01/70 00:00      
      RE: Keil strncpy function doubt?????            01/01/70 00:00      
   RE: Programming style            01/01/70 00:00      
      RE: Programming style            01/01/70 00:00      
      RE: Programming style            01/01/70 00:00      
   RE: Keil strncpy function doubt?????            01/01/70 00:00      
      RE: Keil strncpy function doubt?????            01/01/70 00:00      
         RE: Keil strncpy function doubt?????            01/01/70 00:00      
   Copying structures            01/01/70 00:00      
      RE: Copying structures            01/01/70 00:00      

Back to Subject List