`
coderplay
  • 浏览: 571947 次
  • 性别: Icon_minigender_1
  • 来自: 广州杭州
社区版块
存档分类
最新评论

whereis函数

阅读更多


whereis(RegName) -> pid() | port() | undefined

Returns the pid or port identifier with the registered name RegName. Returns undefined if the name is not registered.


原来是erlang核心模块的东东, erlang:whereis/1.  传入注册的名称RegName, 返回进程ID或端口ID.如果没注册的话,返回undefined.
分享到:
评论

相关推荐

    Javascript 生成 uuid 函数

    Returns a random v4 UUID of the form xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx, where each x is replaced with a random hexadecimal digit from 0 to f, and y is replaced with a random hexadecimal digit from ...

    CI框架中数据库操作函数$this-db-where()相关用法总结

    本文实例总结了CI框架中数据库操作函数$this->db->where()相关用法。分享给大家供大家参考,具体如下: CI 框架数据库操作函数 this->db->where() 的使用 1) $this->db->where(‘MATCH (field) AGAINST (“value”)...

    SQLSERVER ISNULL 函数与判断值是否为空的sql语句

    先来有用的 代码如下: use 数据库 update news set author=’jb51′ where author is null 如果你的不正确那就说明你的什么地方打错了。仔细看下,强烈建议操作以前先备份下数据库。 说明:使用指定的替换值替换 ...

    C语言程序设计-编写函数fun求sum=d+dd+ddd+……+dd...d(n个d),其中d为1-9的数字;例如:3+

    C语言程序设计-编写函数fun求sum=d+dd+ddd+……+dd...d(n个d),其中d为1-9的数字;例如:3+33+333+3333+33333(此时d=3,n=5),d和n在主函数中输入;

    Oracle存储过程和自定义函数详解

    PL/SQL中的过程和函数(通常称为子程序)是PL/SQL块的一种特殊的类型,这种类型的子程序可以以编译的形式存放在数据库中,并为后续的程序块调用。 相同点: 完成特定功能的程序 不同点:是否用return语句返回值。 ...

    面向Java开发者的函数式编程

    中文名: 面向Java开发者的函数式编程 原名: Functional Programming for Java Developers 作者: Dean Wampler 资源格式: PDF 版本: 英文文字版/更新EPUB版本/更新MOBI版本 出版社: O'Reilly书号: 978-1-4493-1103-2...

    mysql中替代null的IFNULL()与COALESCE()函数详解

    SELECT ISNULL(business_name,'no business_name') AS bus_isnull FROM business WHERE id=2 直接运行就会报错: 错误代码: 1582 Incorrect parameter count in the call to native function 'isnull' 所以,is...

    MySQL查询排序与查询聚合函数用法分析

    本文实例讲述了MySQL查询排序与查询聚合函数用法。分享给大家供大家参考,具体如下: 排序 为了方便查看数据,可以对数据进行排序 语法: ...select * from students where gender=1 and is_delete=0 ord

    mysql not in、left join、IS NULL、NOT EXISTS 效率问题记录

    NOT IN、JOIN、IS NULL、NOT EXISTS效率对比 语句一:select count(*) from A where A.a not in (select a from B) 语句二:select count(*) from A left join B on A.a = B.a where B.a is null 语句三:select ...

    fromTop.js:一个简单的jquery函数,当被选元素滚动到页面时运行一个函数

    start : 100 , //Sets the height from the windows top where the inside function is called end : - 300 , //Sets the end height for viewport range from TOP of element. The log method is helpful in ...

    颜色空间转换RGB2HSI

    The input image is assumed to be of size M-by-N-by-3, where the third dimension accounts for three image planes: red, green, and blue, in that order. If all RGB component images are equal, the HSI ...

    基于dijkstra的低耗路由matlab仿真

    A is a NxN adjacency matrix, where A(I,J) is nonzero if and only if an edge connects point I to point J NOTE: Works for both symmetric and asymmetric A V is a Nx2 (or Nx3) matrix of x,y,(z) ...

    C# ODP.NET 调用Oracle函数返回值时报错的一个解决方案

    有人在社区问到:C#调用Oracle中自定义函数的返回值时,... return nvarchar2 is V_Grade nVARCHAR2(20); begin V_Grade := '1205'; update TESTDB3 set Grade = V_Grade where PKID = v_UserID; commit; return

    mysql数据库的基本操作语法

    Ø 常用查询 MySQL结束符是“;”结束。 1、 显示所有数据库 show databases; 2、 删除数据库 ...Ø select 查询、function 函数 select查询语句用得最广泛、功能也最丰富。可以完成单条记录、多条记录、单表...

    计算机导论实验CSAPP

    计算机导论——CSAPP--lab1和lab2,寝室一个牛娃做的,我不会,谦虚奉上

    U3D圣典中文学习版

    This is where most game behaviour code goes, except physics code. 这个函数在运行一帧之前被调用.这是很多游戏运行行为代码的地方,除了物理代码. FixedUpdate: This function is called once every physics ...

    Oracle 汉字转全拼 拼音首字母

    --此函数默认返回汉字拼音的首字母,第二个参数不为空则返回全拼。 create or replace function f_getFirstOrFullSpell(p_cnStr In varchar2,p_sign In number default null) return varchar2 as lv_spell varchar2...

    在SQL Server中使用ISNULL执行空值判断查询

    select isnull(lastchanged,”) as lastchanged from vhhostlist where s_comment=’test202′ 本来,ISNULL函数只有一个参数,它表示的含义就是判断这个参数的值是否为NULL,是NULL则返回TRUE,否则返回FALSE; ...

    Mysql实现null值排在最前/最后的方法示例

    我们已经知道 MySQL 使用 SQL SELECT 命令及 WHERE 子句来读取数据表中的数据,但是当提供的查询条件字段为 NULL 时,该命令可能就无法正常工作。 为了处理这种情况,MySQL提供了三大运算符: IS NULL: 当列的值是 ...

Global site tag (gtag.js) - Google Analytics