Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/branches/blume-private-devel/src/runtime/c-libs/smlnj-sockets/list-sock-types.c
ViewVC logotype

View of /sml/branches/blume-private-devel/src/runtime/c-libs/smlnj-sockets/list-sock-types.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1493 - (download) (as text) (annotate)
Tue May 18 21:19:57 2004 UTC (15 years, 6 months ago) by mblume
File size: 463 byte(s)
merged changes from main trunk
/* list-sock-types.c
 *
 * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
 */

#include "ml-base.h"
#include "ml-objects.h"
#include "sock-util.h"
#include "cfun-proto-list.h"
#include "ml-c.h"

/* _ml_Sock_listsocktypes
 *
 * Return a list of the known socket types (this may contain unsupported
 * families).
 */
ml_val_t _ml_Sock_listsocktypes (ml_state_t *msp, ml_val_t arg)
{
    return ML_SysConstList (msp, &_Sock_Type);

} /* end of _ml_Sock_listsocktypes */

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0