• Malloc
    I'm using the MCBx51 V2.1 prototype Board with the Keil uVision2 software, but I have some problems with memory allocation. This is the code that i had typed. p = malloc (1000); if (p == NULL...
  • problem about malloc()
    Hello, When I use malloc() like p = malloc(LIST_INIT_SIZE*sizeof(unsigned int)) It will allways get 0x000000,and if it is used like that i = LIST_INIT_SIZE*sizeof(unsigned int); p...
  • FIFO using malloc
    Hi, I have to store variable length data in a FIFO. The main program puches and pops lots of data on/from that FIFO. Data is only pushed when there is space in in the FIFO-buffer. Is it a good...
  • malloc/free is there a way ....
    malloc/free is there a way to see if all match? I am exposed to this project where malloc is liberally spread all over the place and wonder if memory get freed up in all cases. I would hate to see...
  • malloc() use
    Hi! Thank for the possibility to post here.! I'm working with C51 C from Psoc 3 from Cypress. I would need create functions that receive an array, does some process and return an array trough a pointer...