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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/12/06 11:22
Read: times


 
#116048 - General-purpose pointer
Responding to: ???'s previous message
Russell Bull said:
void write_bytes_to_eeprom(char *ptr,char num_bytes);

Originally, K&R used char* as a "generic" pointer type that could be used to point to anything.

In ANSI, the preferred idiom is void*.

(Note that Keil use the term "Gerneric Pointer" to mean something else; viz a pointer that can point to any memory space)


List of 20 messages in thread
TopicAuthorDate
writing into internal EEPROM off AT89S82            01/01/70 00:00      
   Writing to internal eeprom            01/01/70 00:00      
      Partly wrong            01/01/70 00:00      
         thanks Andy            01/01/70 00:00      
            same for assembler            01/01/70 00:00      
               IEEE 754 standard            01/01/70 00:00      
                  Missing the point            01/01/70 00:00      
                     same for assembler Not            01/01/70 00:00      
                        Context            01/01/70 00:00      
   "Keil" is not a swear word!            01/01/70 00:00      
   what is about            01/01/70 00:00      
      I'd make it generic            01/01/70 00:00      
         There's an echo in here            01/01/70 00:00      
         General-purpose pointer            01/01/70 00:00      
         indeed            01/01/70 00:00      
            Oleg            01/01/70 00:00      
               thanks but still            01/01/70 00:00      
                  still nobody knows what you want            01/01/70 00:00      
                  Back to basics            01/01/70 00:00      
                     AT89S8252 Primer            01/01/70 00:00      

Back to Subject List