Description of SDL_AllocSurface

Hi there,

I’ve found in a program the function SDL_AllocSurface():

//Allocate some buffers for the sprites
SDL_Surface *img1;
img1=SDL_AllocSurface(SDL_SWSURFACE|SDL_SRCCOLORKEY,80,80,16, 0,0,0,0);

I haven’t found anything about this in the docs. What are the meaning of
the parameters and is these function obsolete and replaced by another
one?

Thanks, Sven